#D9CF66#D9CF66
#D9CF66 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.127 H 103.8°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D9CF66 |
|---|---|
| RGB | rgb(217, 207, 102) |
| HSL | hsl(55, 60%, 63%) |
| HSV | hsv(55, 53%, 85%) |
| CMYK | cmyk(0%, 4.6%, 53%, 14.9%) |
| CIE-LAB | lab(82.02, -10.12, 52.71) |
| CIE-LCH | lch(82.02, 53.67, 100.86°) |
| OKLab | oklab(84.15% -0.0305 0.1237) |
| OKLCH | oklch(84.15% 0.127 103.8) |
| XYZ | xyz(53.3280, 60.3384, 21.4052) |
| Luminance | 0.6034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.81
Sandy
#F1DA7A
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.16
Greenish Beige
#C9D179
ΔE00 5.70
Khaki (CSS)
#F0E68C
ΔE00 5.92
Sand Yellow
#FCE166
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9CF66 #6670D9
analogous
#D99666 #D9CF66 #A9D966
triadic
#D9CF66 #66D9CF #CF66D9
tetradic
#D9CF66 #66D996 #6670D9 #D966A9
square
#D9CF66 #66D996 #6670D9 #D966A9
split-complementary
#D9CF66 #66A9D9 #9666D9
monochromatic
#9D9327 #CDC035 #D9CF66 #E5DE97 #F1EEC8
Accessibility & contrast
On white
1.61
#D9CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.07
#D9CF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9CF66
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9CF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9CF66 | 1.00 | 1.61 | 13.07 | 13.07 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E2CE6B
Tritanopia (blue-blind)
#E7C3B7
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #d9cf66; /* rgb */ color: rgb(217, 207, 102); /* oklch */ color: oklch(84.2% 0.127 103.8);
Tailwind
colors: {
custom: {
50: '#e7dd94',
500: '#d9cf66',
950: '#000000',
},
}SCSS
$custom: #d9cf66; $custom-light: #e7dd94; $custom-dark: #000000;
JSON
{
"hex": "#d9cf66",
"rgb": {
"r": 217,
"g": 207,
"b": 102
},
"hsl": {
"h": 54.783,
"s": 60.209,
"l": 62.549
},
"oklch": {
"l": 0.84152,
"c": 0.12737,
"h": 103.8
},
"luminance": 0.60337
}Semantic roles & 50–950 ramp
primary
#D9CF66
secondary
#424AA1
accent
#2CC81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F