#CFC166#CFC166
#CFC166 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.114 H 100.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC166 |
|---|---|
| RGB | rgb(207, 193, 102) |
| HSL | hsl(52, 52%, 61%) |
| HSV | hsv(52, 51%, 81%) |
| CMYK | cmyk(0%, 6.8%, 50.7%, 18.8%) |
| CIE-LAB | lab(77.50, -7.06, 47.16) |
| CIE-LCH | lch(77.50, 47.69, 98.52°) |
| OKLab | oklab(80.36% -0.0211 0.1117) |
| OKLCH | oklch(80.36% 0.114 100.7) |
| XYZ | xyz(47.2018, 52.3663, 20.1891) |
| Luminance | 0.5236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.24
Darkkhaki
#BDB76B
ΔE00 4.43
Greenish Beige
#C9D179
ΔE00 6.82
Sandy
#F1DA7A
ΔE00 6.85
Desert
#CCAD60
ΔE00 7.32
Tan (survey)
#D1B26F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC166 #6674CF
analogous
#CF8C66 #CFC166 #A8CF66
triadic
#CFC166 #66CFC1 #C166CF
tetradic
#CFC166 #66CF8C #6674CF #CF66A8
square
#CFC166 #66CF8C #6674CF #CF66A8
split-complementary
#CFC166 #66A8CF #8C66CF
monochromatic
#8E812D #BDAB3B #CFC166 #DED495 #ECE7C3
Accessibility & contrast
On white
1.83
#CFC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CFC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC166
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC166 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc166; /* rgb */ color: rgb(207, 193, 102); /* oklch */ color: oklch(80.4% 0.114 100.7);
Tailwind
colors: {
custom: {
50: '#e0d394',
500: '#cfc166',
950: '#000000',
},
}SCSS
$custom: #cfc166; $custom-light: #e0d394; $custom-dark: #000000;
JSON
{
"hex": "#cfc166",
"rgb": {
"r": 207,
"g": 193,
"b": 102
},
"hsl": {
"h": 52,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.8036,
"c": 0.11371,
"h": 100.7
},
"luminance": 0.52365
}Semantic roles & 50–950 ramp
primary
#CFC166
secondary
#454F94
accent
#3AC026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F