#CEC166#CEC166
#CEC166 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.114 H 101.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC166 |
|---|---|
| RGB | rgb(206, 193, 102) |
| HSL | hsl(53, 51%, 60%) |
| HSV | hsv(53, 50%, 81%) |
| CMYK | cmyk(0%, 6.3%, 50.5%, 19.2%) |
| CIE-LAB | lab(77.41, -7.47, 47.04) |
| CIE-LCH | lch(77.41, 47.63, 99.03°) |
| OKLab | oklab(80.27% -0.0222 0.1115) |
| OKLCH | oklch(80.27% 0.114 101.3) |
| XYZ | xyz(46.9232, 52.2227, 20.1761) |
| Luminance | 0.5222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.26
Sand (survey)
#E2CA76
ΔE00 4.47
Greenish Beige
#C9D179
ΔE00 6.59
Sandy
#F1DA7A
ΔE00 7.00
Desert
#CCAD60
ΔE00 7.51
Tan (survey)
#D1B26F
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC166 #6673CE
analogous
#CE8D66 #CEC166 #A7CE66
triadic
#CEC166 #66CEC1 #C166CE
tetradic
#CEC166 #66CE8D #6673CE #CE66A7
square
#CEC166 #66CE8D #6673CE #CE66A7
split-complementary
#CEC166 #66A7CE #8D66CE
monochromatic
#8D812D #BBAB3C #CEC166 #DDD494 #ECE7C3
Accessibility & contrast
On white
1.83
#CEC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CEC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC166
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC166 | 1.00 | 1.83 | 11.44 | 11.44 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#DBB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cec166; /* rgb */ color: rgb(206, 193, 102); /* oklch */ color: oklch(80.3% 0.114 101.3);
Tailwind
colors: {
custom: {
50: '#dfd394',
500: '#cec166',
950: '#000000',
},
}SCSS
$custom: #cec166; $custom-light: #dfd394; $custom-dark: #000000;
JSON
{
"hex": "#cec166",
"rgb": {
"r": 206,
"g": 193,
"b": 102
},
"hsl": {
"h": 52.5,
"s": 51.485,
"l": 60.392
},
"oklch": {
"l": 0.80271,
"c": 0.11368,
"h": 101.3
},
"luminance": 0.52221
}Semantic roles & 50–950 ramp
primary
#CEC166
secondary
#454F93
accent
#3ABF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F