#D2CF6F#D2CF6F
#D2CF6F is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.119 H 107.1°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF6F |
|---|---|
| RGB | rgb(210, 207, 111) |
| HSL | hsl(58, 52%, 63%) |
| HSV | hsv(58, 47%, 82%) |
| CMYK | cmyk(0%, 1.4%, 47.1%, 17.6%) |
| CIE-LAB | lab(81.55, -12.17, 47.74) |
| CIE-LCH | lch(81.55, 49.26, 104.31°) |
| OKLab | oklab(83.67% -0.035 0.1137) |
| OKLCH | oklch(83.67% 0.119 107.1) |
| XYZ | xyz(51.7616, 59.4763, 23.7893) |
| Luminance | 0.5948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.34
Greenish Tan
#BCCB7A
ΔE00 5.88
Khaki (CSS)
#F0E68C
ΔE00 6.04
Sand (survey)
#E2CA76
ΔE00 6.26
Sandy
#F1DA7A
ΔE00 6.47
Darkkhaki
#BDB76B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF6F #6F72D2
analogous
#D29D6F #D2CF6F #A3D26F
triadic
#D2CF6F #6FD2CF #CF6FD2
tetradic
#D2CF6F #6FD29D #6F72D2 #D26FA3
square
#D2CF6F #6FD29D #6F72D2 #D26FA3
split-complementary
#D2CF6F #6FA3D2 #9D6FD2
monochromatic
#97942F #C3BF40 #D2CF6F #E1DF9E #EFEECC
Accessibility & contrast
On white
1.63
#D2CF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.90
#D2CF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF6F
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF6F | 1.00 | 1.63 | 12.90 | 12.90 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC867
Deuteranopia (green-blind)
#DFCD74
Tritanopia (blue-blind)
#DEC4B9
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #d2cf6f; /* rgb */ color: rgb(210, 207, 111); /* oklch */ color: oklch(83.7% 0.119 107.1);
Tailwind
colors: {
custom: {
50: '#e2dd9a',
500: '#d2cf6f',
950: '#000000',
},
}SCSS
$custom: #d2cf6f; $custom-light: #e2dd9a; $custom-dark: #000000;
JSON
{
"hex": "#d2cf6f",
"rgb": {
"r": 210,
"g": 207,
"b": 111
},
"hsl": {
"h": 58.182,
"s": 52.381,
"l": 62.941
},
"oklch": {
"l": 0.83674,
"c": 0.11898,
"h": 107.1
},
"luminance": 0.59475
}Semantic roles & 50–950 ramp
primary
#D2CF6F
secondary
#494B9D
accent
#2AC026
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F