#C8CC4A#C8CC4A
#C8CC4A is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.150 H 111.0°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C8CC4A |
|---|---|
| RGB | rgb(200, 204, 74) |
| HSL | hsl(62, 56%, 55%) |
| HSV | hsv(62, 64%, 80%) |
| CMYK | cmyk(2%, 0%, 63.7%, 20%) |
| CIE-LAB | lab(79.59, -17.63, 61.93) |
| CIE-LCH | lch(79.59, 64.39, 105.89°) |
| OKLab | oklab(81.8% -0.0538 0.1402) |
| OKLCH | oklch(81.8% 0.15 111) |
| XYZ | xyz(46.6497, 55.9607, 14.8213) |
| Luminance | 0.5596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.55
Bile
#B5C306
ΔE00 4.66
Vomit Yellow
#C7C10C
ΔE00 5.12
Puke Yellow
#C2BE0E
ΔE00 5.17
Green Yellow
#B5CE08
ΔE00 5.23
Dirty Yellow
#CDC50A
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8CC4A #4E4ACC
analogous
#CC8F4A #C8CC4A #87CC4A
triadic
#C8CC4A #4AC8CC #CC4AC8
tetradic
#C8CC4A #4ACC8F #4E4ACC #CC4A87
square
#C8CC4A #4ACC8F #4E4ACC #CC4A87
split-complementary
#C8CC4A #4A87CC #8F4ACC
monochromatic
#777922 #A5A930 #C8CC4A #D7D97A #E5E7A9
Accessibility & contrast
On white
1.72
#C8CC4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.19
#C8CC4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8CC4A
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8CC4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8CC4A | 1.00 | 1.72 | 12.19 | 12.19 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c8cc4a; /* rgb */ color: rgb(200, 204, 74); /* oklch */ color: oklch(81.8% 0.150 111.0);
Tailwind
colors: {
custom: {
50: '#dcdb83',
500: '#c8cc4a',
950: '#000000',
},
}SCSS
$custom: #c8cc4a; $custom-light: #dcdb83; $custom-dark: #000000;
JSON
{
"hex": "#c8cc4a",
"rgb": {
"r": 200,
"g": 204,
"b": 74
},
"hsl": {
"h": 61.846,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.81799,
"c": 0.15018,
"h": 111
},
"luminance": 0.5596
}Semantic roles & 50–950 ramp
primary
#C8CC4A
secondary
#3B3982
accent
#48DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E