#D2CF73#D2CF73
#D2CF73 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.115 H 107.0°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF73 |
|---|---|
| RGB | rgb(210, 207, 115) |
| HSL | hsl(58, 51%, 64%) |
| HSV | hsv(58, 45%, 82%) |
| CMYK | cmyk(0%, 1.4%, 45.2%, 17.6%) |
| CIE-LAB | lab(81.60, -11.79, 45.85) |
| CIE-LCH | lch(81.60, 47.34, 104.43°) |
| OKLab | oklab(83.73% -0.0336 0.1098) |
| OKLCH | oklch(83.73% 0.115 107) |
| XYZ | xyz(51.9867, 59.5664, 24.9753) |
| Luminance | 0.5957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.07
Greenish Tan
#BCCB7A
ΔE00 5.59
Khaki (CSS)
#F0E68C
ΔE00 5.94
Sand (survey)
#E2CA76
ΔE00 6.14
Darkkhaki
#BDB76B
ΔE00 6.38
Sandy
#F1DA7A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF73 #7376D2
analogous
#D29F73 #D2CF73 #A5D273
triadic
#D2CF73 #73D2CF #CF73D2
tetradic
#D2CF73 #73D29F #7376D2 #D273A5
square
#D2CF73 #73D29F #7376D2 #D273A5
split-complementary
#D2CF73 #73A5D2 #9F73D2
monochromatic
#999631 #C3BF45 #D2CF73 #E1DFA1 #F0EFD0
Accessibility & contrast
On white
1.63
#D2CF73 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.91
#D2CF73 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF73
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF73 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF73 | 1.00 | 1.63 | 12.91 | 12.91 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC96B
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#DEC5B9
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cf73; /* rgb */ color: rgb(210, 207, 115); /* oklch */ color: oklch(83.7% 0.115 107.0);
Tailwind
colors: {
custom: {
50: '#e1dd9d',
500: '#d2cf73',
950: '#000000',
},
}SCSS
$custom: #d2cf73; $custom-light: #e1dd9d; $custom-dark: #000000;
JSON
{
"hex": "#d2cf73",
"rgb": {
"r": 210,
"g": 207,
"b": 115
},
"hsl": {
"h": 58.105,
"s": 51.351,
"l": 63.725
},
"oklch": {
"l": 0.83729,
"c": 0.11485,
"h": 107
},
"luminance": 0.59565
}Semantic roles & 50–950 ramp
primary
#D2CF73
secondary
#4B4D9F
accent
#2CBF27
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F