#D2A01F
Closest named color: Yellow Ochre (#CB9D06). oklch(73.3% 0.143 84.7), rgb(210, 160, 31).
Aa
Black text reads best on this color (8.78:1).
About this color
#D2A01F is a medium-light, vivid orange. In OKLCH its lightness is 73%, its chroma 0.143 and its hue 85°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.016 away. Black text reads best on it, at 8.78:1.
| Hue family | Oranges |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.143) |
| Temperature | warm |
| Nearest name | Yellow Ochre (#CB9D06) |
| Black text | 8.78:1 |
| White text | 2.38:1 |
Values
| HEX | #D2A01F |
| RGB | rgb(210, 160, 31) |
| HSL | hsl(43, 74%, 47%) |
| OKLCH | oklch(73.3% 0.143 84.7) |
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 #D2A01F | 2.38:1 | Fails | Lc -51.8 | Large or bold text, headings |
| Black text on #D2A01F | 8.78:1 | AAA | Lc 57.1 | Large or bold text, headings |
| #D2A01F text on white | 2.38:1 | Fails | Lc 46.9 | Large or bold text, headings |
| #D2A01F text on black | 8.78:1 | AAA | Lc -55.2 | 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
#E8D7B5
oklch(88.4% 0.049 84.5)
-
Step 300
300
#DBBC7C
oklch(80.8% 0.089 84.7)
-
Step 400
400 (this color)
#D2A01F
oklch(73.3% 0.143 84.7)
-
Step 500
500
#AD8200
oklch(63.1% 0.129 85.1)
-
Step 600
600
#926D00
oklch(55.7% 0.114 85)
-
Step 700
700
#7B5B00
oklch(49.1% 0.101 84.7)
-
Step 800
800
#654A00
oklch(42.7% 0.087 84.5)
-
Step 900
900
#543D00
oklch(37.5% 0.077 84.5)
-
Step 950
950
#332400
oklch(27.1% 0.056 85)
#D2A01F 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) | #B6A000 | 0.047 |
| Deuteranopia (no green cones) | #C1AD28 | 0.040 |
| Tritanopia (no blue cones) | #E59089 | 0.128 |
| Achromatopsia (no color) | #A8A8A8 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A01F
#D2A01F
oklch(73.3% 0.143 84.7)
- #7DA6FF
#7DA6FF
oklch(73.3% 0.137 264.5)
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 #D2A01F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Ochre #CB9D06 ΔE 0.016
- Goldenrod #DAA520 ΔE 0.019
- Ocre #C69C04 ΔE 0.024
- Burnt Yellow #D5AB09 ΔE 0.031
- Ocher #BF9B0C ΔE 0.036
- Muddy Yellow #BFAC05 ΔE 0.044
- Camel #C69F59 ΔE 0.045
- Gamboge #EE9B00 ΔE 0.046
Use #D2A01F 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.