#D9CA8A#D9CA8A
#D9CA8A is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.084 H 96.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D9CA8A |
|---|---|
| RGB | rgb(217, 202, 138) |
| HSL | hsl(49, 51%, 70%) |
| HSV | hsv(49, 36%, 85%) |
| CMYK | cmyk(0%, 6.9%, 36.4%, 14.9%) |
| CIE-LAB | lab(81.20, -4.01, 33.88) |
| CIE-LCH | lch(81.20, 34.11, 96.76°) |
| OKLab | oklab(83.65% -0.0096 0.0838) |
| OKLCH | oklch(83.65% 0.084 96.6) |
| XYZ | xyz(54.3242, 58.8294, 32.5334) |
| Luminance | 0.5883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.26
Beige (survey)
#E6DAA6
ΔE00 4.72
Vanilla
#F3E5AB
ΔE00 6.44
Darkkhaki
#BDB76B
ΔE00 6.62
Sand
#C2B280
ΔE00 6.70
Sandy
#F1DA7A
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9CA8A #8A99D9
analogous
#D9A38A #D9CA8A #C0D98A
triadic
#D9CA8A #8AD9CA #CA8AD9
tetradic
#D9CA8A #8AD9A3 #8A99D9 #D98AC0
square
#D9CA8A #8AD9A3 #8A99D9 #D98AC0
split-complementary
#D9CA8A #8AC0D9 #A38AD9
monochromatic
#B09939 #CAB55C #D9CA8A #E8DFB8 #F7F4E6
Accessibility & contrast
On white
1.65
#D9CA8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.77
#D9CA8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9CA8A
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9CA8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9CA8A | 1.00 | 1.65 | 12.77 | 12.77 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#DBCC8C
Tritanopia (blue-blind)
#E5C1BA
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d9ca8a; /* rgb */ color: rgb(217, 202, 138); /* oklch */ color: oklch(83.7% 0.084 96.6);
Tailwind
colors: {
custom: {
50: '#e6daad',
500: '#d9ca8a',
950: '#000000',
},
}SCSS
$custom: #d9ca8a; $custom-light: #e6daad; $custom-dark: #000000;
JSON
{
"hex": "#d9ca8a",
"rgb": {
"r": 217,
"g": 202,
"b": 138
},
"hsl": {
"h": 48.608,
"s": 50.968,
"l": 69.608
},
"oklch": {
"l": 0.83654,
"c": 0.08432,
"h": 96.6
},
"luminance": 0.58828
}Semantic roles & 50–950 ramp
primary
#D9CA8A
secondary
#5868B0
accent
#44BE27
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381