#D8A221
Closest named color: Goldenrod (#DAA520). oklch(74.4% 0.145 83), rgb(216, 162, 33).
Aa
Black text reads best on this color (9.10:1).
About this color
#D8A221 is a medium-light, vivid orange. In OKLCH its lightness is 74%, its chroma 0.145 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Goldenrod (#DAA520), ΔE 0.009 away. Black text reads best on it, at 9.10:1.
| Hue family | Oranges |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.145) |
| Temperature | warm |
| Nearest name | Goldenrod (#DAA520) |
| Black text | 9.10:1 |
| White text | 2.30:1 |
Values
| HEX | #D8A221 |
| RGB | rgb(216, 162, 33) |
| HSL | hsl(42, 73%, 49%) |
| OKLCH | oklch(74.4% 0.145 83) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D8A221 | 2.30:1 | Fails | Lc -50.1 | Large or bold text, headings |
| Black text on #D8A221 | 9.10:1 | AAA | Lc 58.7 | Large or bold text, headings |
| #D8A221 text on white | 2.30:1 | Fails | Lc 45.2 | Large or bold text, headings |
| #D8A221 text on black | 9.10:1 | AAA | Lc -56.9 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F9F5ED
oklch(97.1% 0.011 84.6)
-
Step 100
100
#F2E9D7
oklch(93.6% 0.026 84.6)
-
Step 200
200
#E9D7B4
oklch(88.5% 0.05 83.9)
-
Step 300
300
#DDBC7C
oklch(81% 0.09 83.3)
-
Step 400
400 (this color)
#D8A221
oklch(74.4% 0.145 83)
-
Step 500
500
#AF8100
oklch(63.2% 0.13 83.3)
-
Step 600
600
#946C00
oklch(55.7% 0.115 82.9)
-
Step 700
700
#7C5A00
oklch(49% 0.101 82.9)
-
Step 800
800
#664A00
oklch(42.8% 0.088 83.6)
-
Step 900
900
#553D00
oklch(37.7% 0.077 83.5)
-
Step 950
950
#332300
oklch(26.8% 0.055 83)
#D8A221 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #B8A300 | 0.054 |
| Deuteranopia (no green cones) | #C5B029 | 0.044 |
| Tritanopia (no blue cones) | #EB918B | 0.129 |
| Achromatopsia (no color) | #ABABAB | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A221
#D8A221
oklch(74.4% 0.145 83)
- #7FAAFF
#7FAAFF
oklch(74.2% 0.132 263.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D8A221, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Goldenrod #DAA520 ΔE 0.009
- Burnt Yellow #D5AB09 ΔE 0.026
- Yellow Ochre #CB9D06 ΔE 0.027
- Ocre #C69C04 ΔE 0.036
- Gamboge #EE9B00 ΔE 0.037
- Desert #CCAD60 ΔE 0.046
- Sand Brown #CBA560 ΔE 0.047
- Ocher #BF9B0C ΔE 0.047
Use #D8A221 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.