#D97706 color
The swatch above shows #D97706 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#D97706 is a medium, vivid orange, closest to the CSS named color chocolate (#D2691E).
It is also a Tailwind CSS default: amber-600. That means you can write bg-amber-600 or text-amber-600 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #D97706 |
| RGB | rgb(217, 119, 6) |
| HSL | hsl(32, 95%, 44%) |
| CMYK | cmyk(0%, 45%, 97%, 15%) |
| Decimal | 14251782 |
| CSS | color: #D97706; |
| Android | 0xFFD97706 |
| Swift | UIColor(red: 0.851, green: 0.467, blue: 0.024, alpha: 1) |
Accessibility and contrast
| White text on #D97706 | 3.19:1 — AA fail · AA large pass · AAA fail |
| Black text on #D97706 | 6.59:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #D97706
Each swatch keeps the hue and saturation of #D97706 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #D97706
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #D97706 in code
/* CSS */
.element { color: #D97706; background-color: #D97706; }
.element { color: rgb(217 119 6); }
.element { color: hsl(32 95% 44%); }
/* Tailwind */
<div class="bg-amber-600 text-black">
/* SCSS variable */
$brand: #D97706;
Frequently asked questions
What color is #D97706?
#D97706 is a medium, vivid orange. Its hue sits at 32° on the color wheel, with 95% saturation and 44% lightness.
What is #D97706 in RGB?
#D97706 converts to rgb(217, 119, 6) — 217 red, 119 green and 6 blue.
What is #D97706 in CMYK?
Approximately cmyk(0%, 45%, 97%, 15%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #D97706 be white or black?
Black gives the better contrast ratio (6.59:1 versus 3.19:1).
What is the complementary color of #D97706?
#0669DB — the hue directly opposite #D97706 on the color wheel.