#D2CF66#D2CF66
#D2CF66 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.128 H 107.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF66 |
|---|---|
| RGB | rgb(210, 207, 102) |
| HSL | hsl(58, 55%, 61%) |
| HSV | hsv(58, 51%, 82%) |
| CMYK | cmyk(0%, 1.4%, 51.4%, 17.6%) |
| CIE-LAB | lab(81.45, -12.97, 51.90) |
| CIE-LCH | lch(81.45, 53.49, 104.03°) |
| OKLab | oklab(83.56% -0.0382 0.122) |
| OKLCH | oklch(83.56% 0.128 107.4) |
| XYZ | xyz(51.2908, 59.2880, 21.3097) |
| Luminance | 0.5929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.16
Dull Yellow
#EEDC5B
ΔE00 6.10
Khaki (CSS)
#F0E68C
ΔE00 6.42
Sandy
#F1DA7A
ΔE00 6.58
Greenish Tan
#BCCB7A
ΔE00 6.66
Sand (survey)
#E2CA76
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF66 #6669D2
analogous
#D29966 #D2CF66 #9FD266
triadic
#D2CF66 #66D2CF #CF66D2
tetradic
#D2CF66 #66D299 #6669D2 #D2669F
square
#D2CF66 #66D299 #6669D2 #D2669F
split-complementary
#D2CF66 #669FD2 #9966D2
monochromatic
#93902B #C2BE39 #D2CF66 #E0DE95 #EEEDC5
Accessibility & contrast
On white
1.63
#D2CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.86
#D2CF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF66
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF66 | 1.00 | 1.63 | 12.86 | 12.86 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#E0CC6B
Tritanopia (blue-blind)
#DFC4B7
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d2cf66; /* rgb */ color: rgb(210, 207, 102); /* oklch */ color: oklch(83.6% 0.128 107.4);
Tailwind
colors: {
custom: {
50: '#e2dd94',
500: '#d2cf66',
950: '#000000',
},
}SCSS
$custom: #d2cf66; $custom-light: #e2dd94; $custom-dark: #000000;
JSON
{
"hex": "#d2cf66",
"rgb": {
"r": 210,
"g": 207,
"b": 102
},
"hsl": {
"h": 58.333,
"s": 54.545,
"l": 61.176
},
"oklch": {
"l": 0.83558,
"c": 0.12786,
"h": 107.4
},
"luminance": 0.59287
}Semantic roles & 50–950 ramp
primary
#D2CF66
secondary
#444698
accent
#28C223
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F