#D2CD9F#D2CD9F
#D2CD9F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.061 H 102.4°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD9F |
|---|---|
| RGB | rgb(210, 205, 159) |
| HSL | hsl(54, 36%, 72%) |
| HSV | hsv(54, 24%, 82%) |
| CMYK | cmyk(0%, 2.4%, 24.3%, 17.6%) |
| CIE-LAB | lab(81.77, -5.59, 23.59) |
| CIE-LCH | lch(81.77, 24.24, 103.34°) |
| OKLab | oklab(84.09% -0.0132 0.0598) |
| OKLCH | oklch(84.09% 0.061 102.4) |
| XYZ | xyz(54.6677, 59.8684, 41.4701) |
| Luminance | 0.5987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 4.22
Vanilla
#F3E5AB
ΔE00 6.88
Palegoldenrod
#EEE8AA
ΔE00 6.94
Sand
#C2B280
ΔE00 7.61
Wheat
#F5DEB3
ΔE00 8.32
Pale Olive
#B9CC81
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD9F #9FA4D2
analogous
#D2B49F #D2CD9F #BDD29F
triadic
#D2CD9F #9FD2CD #CD9FD2
tetradic
#D2CD9F #9FD2B4 #9FA4D2 #D29FBD
square
#D2CD9F #9FD2B4 #9FA4D2 #D29FBD
split-complementary
#D2CD9F #9FBDD2 #B49FD2
monochromatic
#A89F4F #BEB775 #D2CD9F #E6E3C9 #F5F4EA
Accessibility & contrast
On white
1.62
#D2CD9F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.97
#D2CD9F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD9F
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD9F | 1.00 | 1.62 | 12.97 | 12.97 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6CA9C
Deuteranopia (green-blind)
#D8CDA1
Tritanopia (blue-blind)
#DAC7C1
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cd9f; /* rgb */ color: rgb(210, 205, 159); /* oklch */ color: oklch(84.1% 0.061 102.4);
Tailwind
colors: {
custom: {
50: '#e0dcbb',
500: '#d2cd9f',
950: '#000000',
},
}SCSS
$custom: #d2cd9f; $custom-light: #e0dcbb; $custom-dark: #000000;
JSON
{
"hex": "#d2cd9f",
"rgb": {
"r": 210,
"g": 205,
"b": 159
},
"hsl": {
"h": 54.118,
"s": 36.17,
"l": 72.353
},
"oklch": {
"l": 0.84085,
"c": 0.06125,
"h": 102.4
},
"luminance": 0.59867
}Semantic roles & 50–950 ramp
primary
#D2CD9F
secondary
#6D73A8
accent
#42AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482