#CFC666#CFC666
#CFC666 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.119 H 103.9°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC666 |
|---|---|
| RGB | rgb(207, 198, 102) |
| HSL | hsl(55, 52%, 61%) |
| HSV | hsv(55, 51%, 81%) |
| CMYK | cmyk(0%, 4.3%, 50.7%, 18.8%) |
| CIE-LAB | lab(78.82, -9.63, 48.73) |
| CIE-LCH | lch(78.82, 49.67, 101.18°) |
| OKLab | oklab(81.41% -0.0285 0.1152) |
| OKLCH | oklch(81.41% 0.119 103.9) |
| XYZ | xyz(48.3258, 54.6144, 20.5638) |
| Luminance | 0.5461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.06
Sand (survey)
#E2CA76
ΔE00 5.10
Greenish Beige
#C9D179
ΔE00 5.32
Sandy
#F1DA7A
ΔE00 6.63
Dull Yellow
#EEDC5B
ΔE00 7.18
Greenish Tan
#BCCB7A
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC666 #666FCF
analogous
#CF9166 #CFC666 #A3CF66
triadic
#CFC666 #66CFC6 #C666CF
tetradic
#CFC666 #66CF91 #666FCF #CF66A3
square
#CFC666 #66CF91 #666FCF #CF66A3
split-complementary
#CFC666 #66A3CF #9166CF
monochromatic
#8E862D #BDB23B #CFC666 #DED795 #ECE9C3
Accessibility & contrast
On white
1.76
#CFC666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#CFC666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC666
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC666 | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C05D
Deuteranopia (green-blind)
#D8C56B
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc666; /* rgb */ color: rgb(207, 198, 102); /* oklch */ color: oklch(81.4% 0.119 103.9);
Tailwind
colors: {
custom: {
50: '#e0d794',
500: '#cfc666',
950: '#000000',
},
}SCSS
$custom: #cfc666; $custom-light: #e0d794; $custom-dark: #000000;
JSON
{
"hex": "#cfc666",
"rgb": {
"r": 207,
"g": 198,
"b": 102
},
"hsl": {
"h": 54.857,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.81407,
"c": 0.11865,
"h": 103.9
},
"luminance": 0.54613
}Semantic roles & 50–950 ramp
primary
#CFC666
secondary
#454C94
accent
#33C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F