#D2CD8D#D2CD8D
#D2CD8D is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.083 H 104.2°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD8D |
|---|---|
| RGB | rgb(210, 205, 141) |
| HSL | hsl(56, 43%, 69%) |
| HSV | hsv(56, 33%, 82%) |
| CMYK | cmyk(0%, 2.4%, 32.9%, 17.6%) |
| CIE-LAB | lab(81.45, -7.94, 32.55) |
| CIE-LCH | lch(81.45, 33.50, 103.70°) |
| OKLab | oklab(83.73% -0.0205 0.0808) |
| OKLCH | oklch(83.73% 0.083 104.2) |
| XYZ | xyz(53.2179, 59.2885, 33.8345) |
| Luminance | 0.5929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.04
Greenish Beige
#C9D179
ΔE00 5.27
Greenish Tan
#BCCB7A
ΔE00 6.15
Darkkhaki
#BDB76B
ΔE00 6.30
Palegoldenrod
#EEE8AA
ΔE00 6.33
Sand (survey)
#E2CA76
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD8D #8D92D2
analogous
#D2AB8D #D2CD8D #B5D28D
triadic
#D2CD8D #8DD2CD #CD8DD2
tetradic
#D2CD8D #8DD2AB #8D92D2 #D28DB5
square
#D2CD8D #8DD2AB #8D92D2 #D28DB5
split-complementary
#D2CD8D #8DB5D2 #AB8DD2
monochromatic
#A49D41 #C1BA61 #D2CD8D #E3E0B9 #F5F3E5
Accessibility & contrast
On white
1.63
#D2CD8D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.86
#D2CD8D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD8D
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD8D | 1.00 | 1.63 | 12.86 | 12.86 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C889
Deuteranopia (green-blind)
#DACC8F
Tritanopia (blue-blind)
#DCC5BD
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d2cd8d; /* rgb */ color: rgb(210, 205, 141); /* oklch */ color: oklch(83.7% 0.083 104.2);
Tailwind
colors: {
custom: {
50: '#e0dcaf',
500: '#d2cd8d',
950: '#000000',
},
}SCSS
$custom: #d2cd8d; $custom-light: #e0dcaf; $custom-dark: #000000;
JSON
{
"hex": "#d2cd8d",
"rgb": {
"r": 210,
"g": 205,
"b": 141
},
"hsl": {
"h": 55.652,
"s": 43.396,
"l": 68.824
},
"oklch": {
"l": 0.8373,
"c": 0.08337,
"h": 104.2
},
"luminance": 0.59287
}Semantic roles & 50–950 ramp
primary
#D2CD8D
secondary
#5C61A8
accent
#39B72F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481