#D2CD9D#D2CD9D
#D2CD9D is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.064 H 102.7°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD9D |
|---|---|
| RGB | rgb(210, 205, 157) |
| HSL | hsl(54, 37%, 72%) |
| HSV | hsv(54, 25%, 82%) |
| CMYK | cmyk(0%, 2.4%, 25.2%, 17.6%) |
| CIE-LAB | lab(81.73, -5.87, 24.59) |
| CIE-LCH | lch(81.73, 25.28, 103.42°) |
| OKLab | oklab(84.04% -0.014 0.0622) |
| OKLCH | oklch(84.04% 0.064 102.7) |
| XYZ | xyz(54.4955, 59.7995, 40.5634) |
| Luminance | 0.5980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 4.13
Palegoldenrod
#EEE8AA
ΔE00 6.74
Vanilla
#F3E5AB
ΔE00 6.75
Sand
#C2B280
ΔE00 7.54
Greenish Beige
#C9D179
ΔE00 8.32
Wheat
#F5DEB3
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD9D #9DA2D2
analogous
#D2B39D #D2CD9D #BDD29D
triadic
#D2CD9D #9DD2CD #CD9DD2
tetradic
#D2CD9D #9DD2B3 #9DA2D2 #D29DBD
square
#D2CD9D #9DD2B3 #9DA2D2 #D29DBD
split-complementary
#D2CD9D #9DBDD2 #B39DD2
monochromatic
#A89F4D #BFB873 #D2CD9D #E5E2C7 #F5F4EA
Accessibility & contrast
On white
1.62
#D2CD9D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.96
#D2CD9D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD9D
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD9D | 1.00 | 1.62 | 12.96 | 12.96 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C99A
Deuteranopia (green-blind)
#D8CC9F
Tritanopia (blue-blind)
#DAC6C0
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cd9d; /* rgb */ color: rgb(210, 205, 157); /* oklch */ color: oklch(84.0% 0.064 102.7);
Tailwind
colors: {
custom: {
50: '#e0dcba',
500: '#d2cd9d',
950: '#000000',
},
}SCSS
$custom: #d2cd9d; $custom-light: #e0dcba; $custom-dark: #000000;
JSON
{
"hex": "#d2cd9d",
"rgb": {
"r": 210,
"g": 205,
"b": 157
},
"hsl": {
"h": 54.34,
"s": 37.063,
"l": 71.961
},
"oklch": {
"l": 0.84043,
"c": 0.06377,
"h": 102.7
},
"luminance": 0.59799
}Semantic roles & 50–950 ramp
primary
#D2CD9D
secondary
#6B71A8
accent
#41B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481