#D2CF76#D2CF76
#D2CF76 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.112 H 106.9°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF76 |
|---|---|
| RGB | rgb(210, 207, 118) |
| HSL | hsl(58, 51%, 64%) |
| HSV | hsv(58, 44%, 82%) |
| CMYK | cmyk(0%, 1.4%, 43.8%, 17.6%) |
| CIE-LAB | lab(81.64, -11.50, 44.43) |
| CIE-LCH | lch(81.64, 45.89, 104.51°) |
| OKLab | oklab(83.77% -0.0324 0.1069) |
| OKLCH | oklch(83.77% 0.112 106.9) |
| XYZ | xyz(52.1622, 59.6366, 25.8993) |
| Luminance | 0.5964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.94
Greenish Tan
#BCCB7A
ΔE00 5.40
Khaki (CSS)
#F0E68C
ΔE00 5.90
Sand (survey)
#E2CA76
ΔE00 6.08
Darkkhaki
#BDB76B
ΔE00 6.25
Sandy
#F1DA7A
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF76 #7679D2
analogous
#D2A176 #D2CF76 #A7D276
triadic
#D2CF76 #76D2CF #CF76D2
tetradic
#D2CF76 #76D2A1 #7679D2 #D276A7
square
#D2CF76 #76D2A1 #7679D2 #D276A7
split-complementary
#D2CF76 #76A7D2 #A176D2
monochromatic
#9B9733 #C3BF48 #D2CF76 #E1DFA4 #F0EFD2
Accessibility & contrast
On white
1.62
#D2CF76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.93
#D2CF76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF76
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF76 | 1.00 | 1.62 | 12.93 | 12.93 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC96F
Deuteranopia (green-blind)
#DECD7A
Tritanopia (blue-blind)
#DEC5BA
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cf76; /* rgb */ color: rgb(210, 207, 118); /* oklch */ color: oklch(83.8% 0.112 106.9);
Tailwind
colors: {
custom: {
50: '#e1dd9f',
500: '#d2cf76',
950: '#000000',
},
}SCSS
$custom: #d2cf76; $custom-light: #e1dd9f; $custom-dark: #000000;
JSON
{
"hex": "#d2cf76",
"rgb": {
"r": 210,
"g": 207,
"b": 118
},
"hsl": {
"h": 58.043,
"s": 50.549,
"l": 64.314
},
"oklch": {
"l": 0.83772,
"c": 0.11169,
"h": 106.9
},
"luminance": 0.59635
}Semantic roles & 50–950 ramp
primary
#D2CF76
secondary
#4C4FA0
accent
#2CBE28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480