#D9C162
Closest named color: Saffron (#E9C46A). oklch(81.2% 0.119 95.4), rgb(217, 193, 98).
Aa
Black text reads best on this color (11.75:1).
About this color
#D9C162 is a light, moderately saturated yellow. In OKLCH its lightness is 81%, its chroma 0.119 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.028 away. Black text reads best on it, at 11.75:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.119) |
| Temperature | warm |
| Nearest name | Saffron (#E9C46A) |
| Black text | 11.75:1 |
| White text | 1.78:1 |
Values
| HEX | #D9C162 |
| RGB | rgb(217, 193, 98) |
| HSL | hsl(48, 61%, 62%) |
| OKLCH | oklch(81.2% 0.119 95.4) |
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 #D9C162 | 1.78:1 | Fails | Lc -36.9 | Non-text elements, placeholder text |
| Black text on #D9C162 | 11.75:1 | AAA | Lc 70.9 | Content text, not long reading |
| #D9C162 text on white | 1.78:1 | Fails | Lc 32.9 | Non-text elements, placeholder text |
| #D9C162 text on black | 11.75:1 | AAA | Lc -69.7 | Content text, not long reading |
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 300.
-
Step 50
50
#F8F6EA
oklch(97.1% 0.016 99)
-
Step 100
100
#F1EAD1
oklch(93.6% 0.034 94.1)
-
Step 200
200
#E6DAA8
oklch(88.6% 0.067 96.2)
-
Step 300
300 (this color)
#D9C162
oklch(81.2% 0.119 95.4)
-
Step 400
400
#BD9F00
oklch(70.8% 0.146 95.4)
-
Step 500
500
#A28800
oklch(63.2% 0.13 95.4)
-
Step 600
600
#887200
oklch(55.6% 0.114 95.6)
-
Step 700
700
#725F00
oklch(49% 0.101 95.4)
-
Step 800
800
#5E4E00
oklch(42.8% 0.088 95.4)
-
Step 900
900
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#D9C162 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) | #D2BD59 | 0.017 |
| Deuteranopia (no green cones) | #D8C566 | 0.010 |
| Tritanopia (no blue cones) | #E8B5AB | 0.107 |
| Achromatopsia (no color) | #C2C2C2 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D9C162
#D9C162
oklch(81.2% 0.119 95.4)
- #B0BDFF
#B0BDFF
oklch(81.2% 0.094 275.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 #D9C162, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Saffron #E9C46A ΔE 0.028
- Sand #E2CA76 ΔE 0.031
- Greenish Beige #C9D179 ΔE 0.043
- Greenish Tan #BCCB7A ΔE 0.045
- Macaroni And Cheese #EFB435 ΔE 0.045
- Pale Olive #B9CC81 ΔE 0.050
- Mustard Yellow #D2BD0A ΔE 0.052
- Dark Yellow #D5B60A ΔE 0.052
Use #D9C162 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.