#C4CC52#C4CC52
#C4CC52 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.145 H 112.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C4CC52 |
|---|---|
| RGB | rgb(196, 204, 82) |
| HSL | hsl(64, 54%, 56%) |
| HSV | hsv(64, 60%, 80%) |
| CMYK | cmyk(3.9%, 0%, 59.8%, 20%) |
| CIE-LAB | lab(79.35, -18.75, 58.23) |
| CIE-LCH | lch(79.35, 61.18, 107.85°) |
| OKLab | oklab(81.55% -0.0559 0.1336) |
| OKLCH | oklch(81.55% 0.145 112.7) |
| XYZ | xyz(45.8819, 55.5316, 16.2827) |
| Luminance | 0.5553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.04
Baby Puke Green
#B6C406
ΔE00 5.05
Bile
#B5C306
ΔE00 5.13
Green Yellow
#B5CE08
ΔE00 5.36
Snot
#ACBB0D
ΔE00 6.12
Pea
#A4BF20
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4CC52 #5A52CC
analogous
#CC9752 #C4CC52 #87CC52
triadic
#C4CC52 #52C4CC #CC52C4
tetradic
#C4CC52 #52CC97 #5A52CC #CC5287
square
#C4CC52 #52CC97 #5A52CC #CC5287
split-complementary
#C4CC52 #5287CC #9752CC
monochromatic
#797E25 #A6AE33 #C4CC52 #D4DA81 #E4E8B1
Accessibility & contrast
On white
1.73
#C4CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.11
#C4CC52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4CC52
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4CC52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4CC52 | 1.00 | 1.73 | 12.11 | 12.11 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#D0C1B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c4cc52; /* rgb */ color: rgb(196, 204, 82); /* oklch */ color: oklch(81.5% 0.145 112.7);
Tailwind
colors: {
custom: {
50: '#d8db87',
500: '#c4cc52',
950: '#000000',
},
}SCSS
$custom: #c4cc52; $custom-light: #d8db87; $custom-dark: #000000;
JSON
{
"hex": "#c4cc52",
"rgb": {
"r": 196,
"g": 204,
"b": 82
},
"hsl": {
"h": 63.934,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.81548,
"c": 0.14482,
"h": 112.7
},
"luminance": 0.55531
}Semantic roles & 50–950 ramp
primary
#C4CC52
secondary
#413C86
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F