#C9C166#C9C166
#C9C166 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.114 H 104.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C9C166 |
|---|---|
| RGB | rgb(201, 193, 102) |
| HSL | hsl(55, 48%, 59%) |
| HSV | hsv(55, 49%, 79%) |
| CMYK | cmyk(0%, 4%, 49.3%, 21.2%) |
| CIE-LAB | lab(76.99, -9.53, 46.43) |
| CIE-LCH | lch(76.99, 47.40, 101.60°) |
| OKLab | oklab(79.83% -0.0278 0.1102) |
| OKLCH | oklch(79.83% 0.114 104.2) |
| XYZ | xyz(45.5568, 51.5181, 20.1120) |
| Luminance | 0.5152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.60
Greenish Beige
#C9D179
ΔE00 5.53
Sand (survey)
#E2CA76
ΔE00 5.70
Greenish Tan
#BCCB7A
ΔE00 6.83
Light Olive
#ACBF69
ΔE00 7.53
Puke Yellow
#C2BE0E
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9C166 #666EC9
analogous
#C99066 #C9C166 #9FC966
triadic
#C9C166 #66C9C1 #C166C9
tetradic
#C9C166 #66C990 #666EC9 #C9669F
square
#C9C166 #66C990 #666EC9 #C9669F
split-complementary
#C9C166 #669FC9 #9066C9
monochromatic
#857F2F #B3A93F #C9C166 #D9D393 #E9E6C0
Accessibility & contrast
On white
1.86
#C9C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#C9C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9C166
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9C166 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB5E
Deuteranopia (green-blind)
#D2C06A
Tritanopia (blue-blind)
#D5B6AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c9c166; /* rgb */ color: rgb(201, 193, 102); /* oklch */ color: oklch(79.8% 0.114 104.2);
Tailwind
colors: {
custom: {
50: '#dbd394',
500: '#c9c166',
950: '#000000',
},
}SCSS
$custom: #c9c166; $custom-light: #dbd394; $custom-dark: #000000;
JSON
{
"hex": "#c9c166",
"rgb": {
"r": 201,
"g": 193,
"b": 102
},
"hsl": {
"h": 55.152,
"s": 47.826,
"l": 59.412
},
"oklch": {
"l": 0.79835,
"c": 0.11369,
"h": 104.2
},
"luminance": 0.51517
}Semantic roles & 50–950 ramp
primary
#C9C166
secondary
#464C8D
accent
#5BD750
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F