#CCC166#CCC166
#CCC166 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.114 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC166 |
|---|---|
| RGB | rgb(204, 193, 102) |
| HSL | hsl(54, 50%, 60%) |
| HSV | hsv(54, 50%, 80%) |
| CMYK | cmyk(0%, 5.4%, 50%, 20%) |
| CIE-LAB | lab(77.24, -8.30, 46.79) |
| CIE-LCH | lch(77.24, 47.52, 100.05°) |
| OKLab | oklab(80.1% -0.0245 0.111) |
| OKLCH | oklch(80.1% 0.114 102.4) |
| XYZ | xyz(46.3714, 51.9381, 20.1502) |
| Luminance | 0.5194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.95
Sand (survey)
#E2CA76
ΔE00 4.95
Greenish Beige
#C9D179
ΔE00 6.15
Sandy
#F1DA7A
ΔE00 7.33
Greenish Tan
#BCCB7A
ΔE00 7.59
Puke Yellow
#C2BE0E
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC166 #6671CC
analogous
#CC8E66 #CCC166 #A4CC66
triadic
#CCC166 #66CCC1 #C166CC
tetradic
#CCC166 #66CC8E #6671CC #CC66A4
square
#CCC166 #66CC8E #6671CC #CC66A4
split-complementary
#CCC166 #66A4CC #8E66CC
monochromatic
#8A802E #B8AA3D #CCC166 #DBD494 #EBE6C2
Accessibility & contrast
On white
1.84
#CCC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#CCC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC166
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC166 | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBC5E
Deuteranopia (green-blind)
#D3C16A
Tritanopia (blue-blind)
#D9B6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #ccc166; /* rgb */ color: rgb(204, 193, 102); /* oklch */ color: oklch(80.1% 0.114 102.4);
Tailwind
colors: {
custom: {
50: '#ddd394',
500: '#ccc166',
950: '#000000',
},
}SCSS
$custom: #ccc166; $custom-light: #ddd394; $custom-dark: #000000;
JSON
{
"hex": "#ccc166",
"rgb": {
"r": 204,
"g": 193,
"b": 102
},
"hsl": {
"h": 53.529,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.80096,
"c": 0.11365,
"h": 102.4
},
"luminance": 0.51937
}Semantic roles & 50–950 ramp
primary
#CCC166
secondary
#464E91
accent
#5DDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F