#C2CA51#C2CA51
#C2CA51 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.144 H 112.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CA51 |
|---|---|
| RGB | rgb(194, 202, 81) |
| HSL | hsl(64, 53%, 55%) |
| HSV | hsv(64, 60%, 79%) |
| CMYK | cmyk(4%, 0%, 59.9%, 20.8%) |
| CIE-LAB | lab(78.64, -18.65, 57.85) |
| CIE-LCH | lch(78.64, 60.78, 107.87°) |
| OKLab | oklab(80.94% -0.0556 0.1327) |
| OKLCH | oklch(80.94% 0.144 112.7) |
| XYZ | xyz(44.8550, 54.3054, 15.9021) |
| Luminance | 0.5430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.91
Bile
#B5C306
ΔE00 4.97
Greenish Beige
#C9D179
ΔE00 5.11
Green Yellow
#B5CE08
ΔE00 5.42
Snot
#ACBB0D
ΔE00 5.80
Pea
#A4BF20
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CA51 #5951CA
analogous
#CA9551 #C2CA51 #85CA51
triadic
#C2CA51 #51C2CA #CA51C2
tetradic
#C2CA51 #51CA95 #5951CA #CA5185
square
#C2CA51 #51CA95 #5951CA #CA5185
split-complementary
#C2CA51 #5185CA #9551CA
monochromatic
#757B25 #A2AA34 #C2CA51 #D2D880 #E3E7AF
Accessibility & contrast
On white
1.77
#C2CA51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#C2CA51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CA51
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CA51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CA51 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2ca51; /* rgb */ color: rgb(194, 202, 81); /* oklch */ color: oklch(80.9% 0.144 112.7);
Tailwind
colors: {
custom: {
50: '#d7da87',
500: '#c2ca51',
950: '#000000',
},
}SCSS
$custom: #c2ca51; $custom-light: #d7da87; $custom-dark: #000000;
JSON
{
"hex": "#c2ca51",
"rgb": {
"r": 194,
"g": 202,
"b": 81
},
"hsl": {
"h": 63.967,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.80942,
"c": 0.14387,
"h": 112.7
},
"luminance": 0.54304
}Semantic roles & 50–950 ramp
primary
#C2CA51
secondary
#413C83
accent
#4BDD55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F