#D2CF75#D2CF75
#D2CF75 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.113 H 106.9°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF75 |
|---|---|
| RGB | rgb(210, 207, 117) |
| HSL | hsl(58, 51%, 64%) |
| HSV | hsv(58, 44%, 82%) |
| CMYK | cmyk(0%, 1.4%, 44.3%, 17.6%) |
| CIE-LAB | lab(81.63, -11.60, 44.90) |
| CIE-LCH | lch(81.63, 46.38, 104.48°) |
| OKLab | oklab(83.76% -0.0328 0.1079) |
| OKLCH | oklch(83.76% 0.113 106.9) |
| XYZ | xyz(52.1031, 59.6129, 25.5879) |
| Luminance | 0.5961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.97
Greenish Tan
#BCCB7A
ΔE00 5.46
Khaki (CSS)
#F0E68C
ΔE00 5.91
Sand (survey)
#E2CA76
ΔE00 6.09
Darkkhaki
#BDB76B
ΔE00 6.29
Sandy
#F1DA7A
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF75 #7578D2
analogous
#D2A175 #D2CF75 #A7D275
triadic
#D2CF75 #75D2CF #CF75D2
tetradic
#D2CF75 #75D2A1 #7578D2 #D275A7
square
#D2CF75 #75D2A1 #7578D2 #D275A7
split-complementary
#D2CF75 #75A7D2 #A175D2
monochromatic
#9A9732 #C3BF47 #D2CF75 #E1DFA3 #F0EFD1
Accessibility & contrast
On white
1.63
#D2CF75 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.92
#D2CF75 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF75
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF75 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF75 | 1.00 | 1.63 | 12.92 | 12.92 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC96E
Deuteranopia (green-blind)
#DECD79
Tritanopia (blue-blind)
#DEC5BA
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cf75; /* rgb */ color: rgb(210, 207, 117); /* oklch */ color: oklch(83.8% 0.113 106.9);
Tailwind
colors: {
custom: {
50: '#e1dd9e',
500: '#d2cf75',
950: '#000000',
},
}SCSS
$custom: #d2cf75; $custom-light: #e1dd9e; $custom-dark: #000000;
JSON
{
"hex": "#d2cf75",
"rgb": {
"r": 210,
"g": 207,
"b": 117
},
"hsl": {
"h": 58.065,
"s": 50.82,
"l": 64.118
},
"oklch": {
"l": 0.83757,
"c": 0.11275,
"h": 106.9
},
"luminance": 0.59612
}Semantic roles & 50–950 ramp
primary
#D2CF75
secondary
#4C4E9F
accent
#2CBE27
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F