#C2CA40#C2CA40
#C2CA40 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.8% C 0.156 H 112.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CA40 |
|---|---|
| RGB | rgb(194, 202, 64) |
| HSL | hsl(63, 57%, 52%) |
| HSV | hsv(63, 68%, 79%) |
| CMYK | cmyk(4%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(78.51, -19.71, 64.58) |
| CIE-LCH | lch(78.51, 67.52, 106.98°) |
| OKLab | oklab(80.8% -0.0603 0.1444) |
| OKLCH | oklch(80.8% 0.156 112.7) |
| XYZ | xyz(44.2954, 54.0815, 12.9549) |
| Luminance | 0.5408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.37
Bile
#B5C306
ΔE00 3.48
Green Yellow
#B5CE08
ΔE00 4.13
Puke Yellow
#C2BE0E
ΔE00 4.84
Snot
#ACBB0D
ΔE00 4.85
Vomit Yellow
#C7C10C
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CA40 #4840CA
analogous
#CA8D40 #C2CA40 #7DCA40
triadic
#C2CA40 #40C2CA #CA40C2
tetradic
#C2CA40 #40CA8D #4840CA #CA407D
square
#C2CA40 #40CA8D #4840CA #CA407D
split-complementary
#C2CA40 #407DCA #8D40CA
monochromatic
#6C701F #9AA02C #C2CA40 #D1D770 #E1E5A0
Accessibility & contrast
On white
1.78
#C2CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#C2CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CA40
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CA40 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CFBEAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c2ca40; /* rgb */ color: rgb(194, 202, 64); /* oklch */ color: oklch(80.8% 0.156 112.7);
Tailwind
colors: {
custom: {
50: '#d8d97d',
500: '#c2ca40',
950: '#000000',
},
}SCSS
$custom: #c2ca40; $custom-light: #d8d97d; $custom-dark: #000000;
JSON
{
"hex": "#c2ca40",
"rgb": {
"r": 194,
"g": 202,
"b": 64
},
"hsl": {
"h": 63.478,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.80796,
"c": 0.15648,
"h": 112.7
},
"luminance": 0.54081
}Semantic roles & 50–950 ramp
primary
#C2CA40
secondary
#39357A
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D