#D2A802
Closest named color: Burnt Yellow (#D5AB09). oklch(74.8% 0.153 90.6), rgb(210, 168, 2).
Aa
Black text reads best on this color (9.34:1).
About this color
#D2A802 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.153 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.009 away. Black text reads best on it, at 9.34:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.153) |
| Temperature | warm |
| Nearest name | Burnt Yellow (#D5AB09) |
| Black text | 9.34:1 |
| White text | 2.24:1 |
Values
| HEX | #D2A802 |
| RGB | rgb(210, 168, 2) |
| HSL | hsl(48, 98%, 42%) |
| OKLCH | oklch(74.8% 0.153 90.6) |
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 #D2A802 | 2.24:1 | Fails | Lc -48.9 | Large or bold text, headings |
| Black text on #D2A802 | 9.34:1 | AAA | Lc 59.9 | Large or bold text, headings |
| #D2A802 text on white | 2.24:1 | Fails | Lc 44.1 | Non-text elements, placeholder text |
| #D2A802 text on black | 9.34:1 | AAA | Lc -58.1 | 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
#F9F5EC
oklch(97.1% 0.013 86.8)
-
Step 100
100
#F1EAD6
oklch(93.7% 0.028 90.9)
-
Step 200
200
#E6D8B2
oklch(88.4% 0.052 90.2)
-
Step 300
300
#D8BF77
oklch(81% 0.096 91)
-
Step 400
400 (this color)
#D2A802
oklch(74.8% 0.153 90.6)
-
Step 500
500
#A78500
oklch(63.1% 0.129 90.6)
-
Step 600
600
#8D7000
oklch(55.8% 0.114 90.7)
-
Step 700
700
#765D00
oklch(49% 0.1 90.4)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#312500
oklch(27.1% 0.055 90.3)
#D2A802 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) | #BDA600 | 0.034 |
| Deuteranopia (no green cones) | #C7B219 | 0.028 |
| Tritanopia (no blue cones) | #E4988F | 0.139 |
| Achromatopsia (no color) | #ADADAD | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A802
#D2A802
oklch(74.8% 0.153 90.6)
- #8FA8FF
#8FA8FF
oklch(74.8% 0.129 270.8)
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 #D2A802, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Burnt Yellow #D5AB09 ΔE 0.009
- Goldenrod #DAA520 ΔE 0.018
- Mustard #CEB301 ΔE 0.028
- Muddy Yellow #BFAC05 ΔE 0.031
- Yellow Ochre #CB9D06 ΔE 0.031
- Dark Yellow #D5B60A ΔE 0.036
- Ocre #C69C04 ΔE 0.038
- Olive Yellow #C2B709 ΔE 0.044
Use #D2A802 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.