#C8C166#C8C166
#C8C166 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.114 H 104.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C8C166 |
|---|---|
| RGB | rgb(200, 193, 102) |
| HSL | hsl(56, 47%, 59%) |
| HSV | hsv(56, 49%, 78%) |
| CMYK | cmyk(0%, 3.5%, 49%, 21.6%) |
| CIE-LAB | lab(76.91, -9.94, 46.31) |
| CIE-LCH | lch(76.91, 47.36, 102.11°) |
| OKLab | oklab(79.75% -0.029 0.11) |
| OKLCH | oklch(79.75% 0.114 104.8) |
| XYZ | xyz(45.2888, 51.3799, 20.0994) |
| Luminance | 0.5138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.52
Greenish Beige
#C9D179
ΔE00 5.35
Sand (survey)
#E2CA76
ΔE00 5.95
Greenish Tan
#BCCB7A
ΔE00 6.58
Light Olive
#ACBF69
ΔE00 7.25
Puke Yellow
#C2BE0E
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8C166 #666DC8
analogous
#C89066 #C8C166 #9EC866
triadic
#C8C166 #66C8C1 #C166C8
tetradic
#C8C166 #66C890 #666DC8 #C8669E
square
#C8C166 #66C890 #666DC8 #C8669E
split-complementary
#C8C166 #669EC8 #9066C8
monochromatic
#847E2F #B1A940 #C8C166 #D8D393 #E8E5C0
Accessibility & contrast
On white
1.86
#C8C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.28
#C8C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8C166
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8C166 | 1.00 | 1.86 | 11.28 | 11.28 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB5E
Deuteranopia (green-blind)
#D1C06A
Tritanopia (blue-blind)
#D4B7AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c8c166; /* rgb */ color: rgb(200, 193, 102); /* oklch */ color: oklch(79.7% 0.114 104.8);
Tailwind
colors: {
custom: {
50: '#dbd394',
500: '#c8c166',
950: '#000000',
},
}SCSS
$custom: #c8c166; $custom-light: #dbd394; $custom-dark: #000000;
JSON
{
"hex": "#c8c166",
"rgb": {
"r": 200,
"g": 193,
"b": 102
},
"hsl": {
"h": 55.714,
"s": 47.115,
"l": 59.216
},
"oklch": {
"l": 0.79749,
"c": 0.11373,
"h": 104.8
},
"luminance": 0.51379
}Semantic roles & 50–950 ramp
primary
#C8C166
secondary
#464B8C
accent
#5BD751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F