#C2CC4A#C2CC4A
#C2CC4A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.152 H 113.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CC4A |
|---|---|
| RGB | rgb(194, 204, 74) |
| HSL | hsl(65, 56%, 55%) |
| HSV | hsv(65, 64%, 80%) |
| CMYK | cmyk(4.9%, 0%, 63.7%, 20%) |
| CIE-LAB | lab(79.13, -20.11, 61.30) |
| CIE-LCH | lch(79.13, 64.52, 108.16°) |
| OKLab | oklab(81.31% -0.0604 0.139) |
| OKLCH | oklch(81.31% 0.152 113.5) |
| XYZ | xyz(45.0782, 55.1504, 14.7477) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.26
Bile
#B5C306
ΔE00 4.36
Green Yellow
#B5CE08
ΔE00 4.47
Snot
#ACBB0D
ΔE00 5.53
Pea
#A4BF20
ΔE00 5.63
Greenish Beige
#C9D179
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CC4A #544ACC
analogous
#CC954A #C2CC4A #81CC4A
triadic
#C2CC4A #4AC2CC #CC4AC2
tetradic
#C2CC4A #4ACC95 #544ACC #CC4A81
square
#C2CC4A #4ACC95 #544ACC #CC4A81
split-complementary
#C2CC4A #4A81CC #954ACC
monochromatic
#737922 #A0A930 #C2CC4A #D2D97A #E2E7A9
Accessibility & contrast
On white
1.75
#C2CC4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#C2CC4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CC4A
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CC4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CC4A | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC339
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c2cc4a; /* rgb */ color: rgb(194, 204, 74); /* oklch */ color: oklch(81.3% 0.152 113.5);
Tailwind
colors: {
custom: {
50: '#d7db83',
500: '#c2cc4a',
950: '#000000',
},
}SCSS
$custom: #c2cc4a; $custom-light: #d7db83; $custom-dark: #000000;
JSON
{
"hex": "#c2cc4a",
"rgb": {
"r": 194,
"g": 204,
"b": 74
},
"hsl": {
"h": 64.615,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.81314,
"c": 0.1516,
"h": 113.5
},
"luminance": 0.55149
}Semantic roles & 50–950 ramp
primary
#C2CC4A
secondary
#3E3982
accent
#48DF54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E