#D2CCAB#D2CCAB
#D2CCAB is a very light, muted yellow. Relative luminance 0.598; OKLCH L 84.1% C 0.045 H 98.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CCAB |
|---|---|
| RGB | rgb(210, 204, 171) |
| HSL | hsl(51, 30%, 75%) |
| HSV | hsv(51, 19%, 82%) |
| CMYK | cmyk(0%, 2.9%, 18.6%, 17.6%) |
| CIE-LAB | lab(81.74, -3.34, 17.22) |
| CIE-LCH | lch(81.74, 17.54, 100.99°) |
| OKLab | oklab(84.15% -0.0068 0.0443) |
| OKLCH | oklch(84.15% 0.045 98.7) |
| XYZ | xyz(55.5215, 59.8284, 47.1434) |
| Luminance | 0.5983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.04
Warm Beige
#E9DCC9
ΔE00 8.06
Wheat
#F5DEB3
ΔE00 8.09
Eggshell
#F0EAD6
ΔE00 8.38
Putty
#BEAE8A
ΔE00 8.50
Sand
#C2B280
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CCAB #ABB1D2
analogous
#D2B9AB #D2CCAB #C5D2AB
triadic
#D2CCAB #ABD2CC #CCABD2
tetradic
#D2CCAB #ABD2B9 #ABB1D2 #D2ABC5
square
#D2CCAB #ABD2B9 #ABB1D2 #D2ABC5
split-complementary
#D2CCAB #ABC5D2 #B9ABD2
monochromatic
#A79C5B #BDB483 #D2CCAB #E7E4D3 #F4F3EB
Accessibility & contrast
On white
1.62
#D2CCAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.97
#D2CCAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CCAB
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CCAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CCAB | 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)
#D3CAA9
Deuteranopia (green-blind)
#D5CCAC
Tritanopia (blue-blind)
#D8C7C3
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2ccab; /* rgb */ color: rgb(210, 204, 171); /* oklch */ color: oklch(84.1% 0.045 98.7);
Tailwind
colors: {
custom: {
50: '#e0dbc4',
500: '#d2ccab',
950: '#000000',
},
}SCSS
$custom: #d2ccab; $custom-light: #e0dbc4; $custom-dark: #000000;
JSON
{
"hex": "#d2ccab",
"rgb": {
"r": 210,
"g": 204,
"b": 171
},
"hsl": {
"h": 50.769,
"s": 30.233,
"l": 74.706
},
"oklch": {
"l": 0.84146,
"c": 0.04478,
"h": 98.7
},
"luminance": 0.59828
}Semantic roles & 50–950 ramp
primary
#D2CCAB
secondary
#7980A8
accent
#4DA93D
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151512
muted
#848482