#CFC66D#CFC66D
#CFC66D is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.112 H 103.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC66D |
|---|---|
| RGB | rgb(207, 198, 109) |
| HSL | hsl(54, 51%, 62%) |
| HSV | hsv(54, 47%, 81%) |
| CMYK | cmyk(0%, 4.3%, 47.3%, 18.8%) |
| CIE-LAB | lab(78.90, -9.00, 45.44) |
| CIE-LCH | lch(78.90, 46.32, 101.20°) |
| OKLab | oklab(81.5% -0.0259 0.1085) |
| OKLCH | oklch(81.5% 0.112 103.4) |
| XYZ | xyz(48.6877, 54.7592, 22.4699) |
| Luminance | 0.5476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.54
Sand (survey)
#E2CA76
ΔE00 4.78
Greenish Beige
#C9D179
ΔE00 5.03
Sandy
#F1DA7A
ΔE00 6.64
Greenish Tan
#BCCB7A
ΔE00 6.77
Khaki (CSS)
#F0E68C
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC66D #6D76CF
analogous
#CF956D #CFC66D #A7CF6D
triadic
#CFC66D #6DCFC6 #C66DCF
tetradic
#CFC66D #6DCF95 #6D76CF #CF6DA7
square
#CFC66D #6DCF95 #6D76CF #CF6DA7
split-complementary
#CFC66D #6DA7CF #956DCF
monochromatic
#928930 #C0B43F #CFC66D #DED89B #EDEAC9
Accessibility & contrast
On white
1.76
#CFC66D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#CFC66D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC66D
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC66D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC66D | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C165
Deuteranopia (green-blind)
#D7C671
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc66d; /* rgb */ color: rgb(207, 198, 109); /* oklch */ color: oklch(81.5% 0.112 103.4);
Tailwind
colors: {
custom: {
50: '#dfd799',
500: '#cfc66d',
950: '#000000',
},
}SCSS
$custom: #cfc66d; $custom-light: #dfd799; $custom-dark: #000000;
JSON
{
"hex": "#cfc66d",
"rgb": {
"r": 207,
"g": 198,
"b": 109
},
"hsl": {
"h": 54.49,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.815,
"c": 0.11158,
"h": 103.4
},
"luminance": 0.54758
}Semantic roles & 50–950 ramp
primary
#CFC66D
secondary
#485098
accent
#35BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F