#D2CD6E#D2CD6E
#D2CD6E is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.118 H 106.0°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD6E |
|---|---|
| RGB | rgb(210, 205, 110) |
| HSL | hsl(57, 53%, 63%) |
| HSV | hsv(57, 48%, 82%) |
| CMYK | cmyk(0%, 2.4%, 47.6%, 17.6%) |
| CIE-LAB | lab(81.01, -11.25, 47.56) |
| CIE-LCH | lch(81.01, 48.88, 103.31°) |
| OKLab | oklab(83.24% -0.0325 0.1133) |
| OKLCH | oklch(83.24% 0.118 106) |
| XYZ | xyz(51.2253, 58.4915, 23.3404) |
| Luminance | 0.5849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.81
Sand (survey)
#E2CA76
ΔE00 5.72
Darkkhaki
#BDB76B
ΔE00 6.16
Greenish Tan
#BCCB7A
ΔE00 6.19
Khaki (CSS)
#F0E68C
ΔE00 6.25
Sandy
#F1DA7A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD6E #6E73D2
analogous
#D29B6E #D2CD6E #A5D26E
triadic
#D2CD6E #6ED2CD #CD6ED2
tetradic
#D2CD6E #6ED29B #6E73D2 #D26EA5
square
#D2CD6E #6ED29B #6E73D2 #D26EA5
split-complementary
#D2CD6E #6EA5D2 #9B6ED2
monochromatic
#97922F #C4BD3F #D2CD6E #E0DD9D #EFEDCB
Accessibility & contrast
On white
1.65
#D2CD6E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.70
#D2CD6E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD6E
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD6E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD6E | 1.00 | 1.65 | 12.70 | 12.70 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC766
Deuteranopia (green-blind)
#DDCB72
Tritanopia (blue-blind)
#DFC2B7
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d2cd6e; /* rgb */ color: rgb(210, 205, 110); /* oklch */ color: oklch(83.2% 0.118 106.0);
Tailwind
colors: {
custom: {
50: '#e2dc9a',
500: '#d2cd6e',
950: '#000000',
},
}SCSS
$custom: #d2cd6e; $custom-light: #e2dc9a; $custom-dark: #000000;
JSON
{
"hex": "#d2cd6e",
"rgb": {
"r": 210,
"g": 205,
"b": 110
},
"hsl": {
"h": 57,
"s": 52.632,
"l": 62.745
},
"oklch": {
"l": 0.83239,
"c": 0.11783,
"h": 106
},
"luminance": 0.5849
}Semantic roles & 50–950 ramp
primary
#D2CD6E
secondary
#484C9C
accent
#2DC025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F