#C2CC3A#C2CC3A
#C2CC3A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.162 H 113.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CC3A |
|---|---|
| RGB | rgb(194, 204, 58) |
| HSL | hsl(64, 59%, 51%) |
| HSV | hsv(64, 72%, 80%) |
| CMYK | cmyk(4.9%, 0%, 71.6%, 20%) |
| CIE-LAB | lab(79.02, -21.01, 67.25) |
| CIE-LCH | lch(79.02, 70.45, 107.35°) |
| OKLab | oklab(81.19% -0.0645 0.149) |
| OKLCH | oklch(81.19% 0.162 113.4) |
| XYZ | xyz(44.6061, 54.9615, 12.2610) |
| Luminance | 0.5496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.08
Bile
#B5C306
ΔE00 3.24
Green Yellow
#B5CE08
ΔE00 3.44
Snot
#ACBB0D
ΔE00 4.93
Puke Yellow
#C2BE0E
ΔE00 5.01
Vomit Yellow
#C7C10C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CC3A #443ACC
analogous
#CC8D3A #C2CC3A #79CC3A
triadic
#C2CC3A #3AC2CC #CC3AC2
tetradic
#C2CC3A #3ACC8D #443ACC #CC3A79
square
#C2CC3A #3ACC8D #443ACC #CC3A79
split-complementary
#C2CC3A #3A79CC #8D3ACC
monochromatic
#696F1D #97A029 #C2CC3A #D1D96B #E0E59B
Accessibility & contrast
On white
1.75
#C2CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#C2CC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CC3A
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CC3A | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c2cc3a; /* rgb */ color: rgb(194, 204, 58); /* oklch */ color: oklch(81.2% 0.162 113.4);
Tailwind
colors: {
custom: {
50: '#d8db7a',
500: '#c2cc3a',
950: '#000000',
},
}SCSS
$custom: #c2cc3a; $custom-light: #d8db7a; $custom-dark: #000000;
JSON
{
"hex": "#c2cc3a",
"rgb": {
"r": 194,
"g": 204,
"b": 58
},
"hsl": {
"h": 64.11,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.81192,
"c": 0.16237,
"h": 113.4
},
"luminance": 0.54961
}Semantic roles & 50–950 ramp
primary
#C2CC3A
secondary
#373278
accent
#46E250
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D