#D2CD6F#D2CD6F
#D2CD6F is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.117 H 106.0°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD6F |
|---|---|
| RGB | rgb(210, 205, 111) |
| HSL | hsl(57, 52%, 63%) |
| HSV | hsv(57, 47%, 82%) |
| CMYK | cmyk(0%, 2.4%, 47.1%, 17.6%) |
| CIE-LAB | lab(81.02, -11.16, 47.09) |
| CIE-LCH | lch(81.02, 48.40, 103.33°) |
| OKLab | oklab(83.25% -0.0321 0.1123) |
| OKLCH | oklch(83.25% 0.117 106) |
| XYZ | xyz(51.2801, 58.5134, 23.6288) |
| Luminance | 0.5851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.74
Sand (survey)
#E2CA76
ΔE00 5.68
Darkkhaki
#BDB76B
ΔE00 6.10
Greenish Tan
#BCCB7A
ΔE00 6.12
Khaki (CSS)
#F0E68C
ΔE00 6.23
Sandy
#F1DA7A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD6F #6F74D2
analogous
#D29C6F #D2CD6F #A5D26F
triadic
#D2CD6F #6FD2CD #CD6FD2
tetradic
#D2CD6F #6FD29C #6F74D2 #D26FA5
square
#D2CD6F #6FD29C #6F74D2 #D26FA5
split-complementary
#D2CD6F #6FA5D2 #9C6FD2
monochromatic
#97922F #C3BD40 #D2CD6F #E1DD9E #EFEDCC
Accessibility & contrast
On white
1.65
#D2CD6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.70
#D2CD6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD6F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD6F | 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)
#DBC767
Deuteranopia (green-blind)
#DDCB73
Tritanopia (blue-blind)
#DEC2B7
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d2cd6f; /* rgb */ color: rgb(210, 205, 111); /* oklch */ color: oklch(83.3% 0.117 106.0);
Tailwind
colors: {
custom: {
50: '#e2dc9a',
500: '#d2cd6f',
950: '#000000',
},
}SCSS
$custom: #d2cd6f; $custom-light: #e2dc9a; $custom-dark: #000000;
JSON
{
"hex": "#d2cd6f",
"rgb": {
"r": 210,
"g": 205,
"b": 111
},
"hsl": {
"h": 56.97,
"s": 52.381,
"l": 62.941
},
"oklch": {
"l": 0.83253,
"c": 0.1168,
"h": 106
},
"luminance": 0.58512
}Semantic roles & 50–950 ramp
primary
#D2CD6F
secondary
#494D9D
accent
#2DC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F