#D4CC82
Closest named color: Sand (#E2CA76). oklch(83.5% 0.095 102.9), rgb(212, 204, 130).
Aa
Black text reads best on this color (12.75:1).
About this color
#D4CC82 is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.095 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.021 away. Black text reads best on it, at 12.75:1.
| Hue family | Yellows |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.095) |
| Temperature | warm |
| Nearest name | Sand (#E2CA76) |
| Black text | 12.75:1 |
| White text | 1.64:1 |
Values
| HEX | #D4CC82 |
| RGB | rgb(212, 204, 130) |
| HSL | hsl(54, 49%, 67%) |
| OKLCH | oklch(83.5% 0.095 102.9) |
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 #D4CC82 | 1.64:1 | Fails | Lc -32.2 | Non-text elements, placeholder text |
| Black text on #D4CC82 | 12.75:1 | AAA | Lc 75.2 | Fine for body text |
| #D4CC82 text on white | 1.64:1 | Fails | Lc 28.6 | Dividers and decoration only |
| #D4CC82 text on black | 12.75:1 | AAA | Lc -74.3 | 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
#F7F6EC
oklch(97.1% 0.013 102)
-
Step 100
100
#EDEBD6
oklch(93.6% 0.028 102.5)
-
Step 200
200
#DFDBB3
oklch(88.4% 0.053 102.7)
-
Step 300
300 (this color)
#D4CC82
oklch(83.5% 0.095 102.9)
-
Step 400
400
#B2A300
oklch(70.6% 0.148 102.9)
-
Step 500
500
#998C00
oklch(63.2% 0.133 102.9)
-
Step 600
600
#807500
oklch(55.5% 0.117 103)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#585000
oklch(42.6% 0.089 102.9)
-
Step 900
900
#4A4300
oklch(37.8% 0.079 102.7)
-
Step 950
950
#2C2700
oklch(27% 0.057 102.1)
#D4CC82 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) | #D8C77C | 0.013 |
| Deuteranopia (no green cones) | #DBCC85 | 0.011 |
| Tritanopia (no blue cones) | #DFC3BA | 0.086 |
| Achromatopsia (no color) | #CACACA | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4CC82
#D4CC82
oklch(83.5% 0.095 102.9)
- #C0C2FF
#C0C2FF
oklch(83.4% 0.085 282.9)
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 #D4CC82, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sand #E2CA76 ΔE 0.021
- Greenish Beige #C9D179 ΔE 0.025
- Saffron #E9C46A ΔE 0.036
- Greenish Tan #BCCB7A ΔE 0.036
- Pale Olive #B9CC81 ΔE 0.037
- Pale Olive Green #B1D27B ΔE 0.051
- Burlywood #DEB887 ΔE 0.056
- Pale Oak #DBCFB0 ΔE 0.058
Use #D4CC82 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.