#C2CA52#C2CA52
#C2CA52 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.143 H 112.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CA52 |
|---|---|
| RGB | rgb(194, 202, 82) |
| HSL | hsl(64, 53%, 56%) |
| HSV | hsv(64, 59%, 79%) |
| CMYK | cmyk(4%, 0%, 59.4%, 20.8%) |
| CIE-LAB | lab(78.65, -18.58, 57.43) |
| CIE-LCH | lch(78.65, 60.36, 107.93°) |
| OKLab | oklab(80.95% -0.0553 0.1319) |
| OKLCH | oklch(80.95% 0.143 112.7) |
| XYZ | xyz(44.8928, 54.3205, 16.1010) |
| Luminance | 0.5432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.00
Baby Puke Green
#B6C406
ΔE00 5.02
Bile
#B5C306
ΔE00 5.07
Green Yellow
#B5CE08
ΔE00 5.51
Snot
#ACBB0D
ΔE00 5.87
Pea
#A4BF20
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CA52 #5A52CA
analogous
#CA9652 #C2CA52 #86CA52
triadic
#C2CA52 #52C2CA #CA52C2
tetradic
#C2CA52 #52CA96 #5A52CA #CA5286
square
#C2CA52 #52CA96 #5A52CA #CA5286
split-complementary
#C2CA52 #5286CA #9652CA
monochromatic
#767C26 #A3AB34 #C2CA52 #D3D881 #E3E7B0
Accessibility & contrast
On white
1.77
#C2CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#C2CA52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CA52
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CA52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CA52 | 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)
#D8C144
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2ca52; /* rgb */ color: rgb(194, 202, 82); /* oklch */ color: oklch(81.0% 0.143 112.7);
Tailwind
colors: {
custom: {
50: '#d7da87',
500: '#c2ca52',
950: '#000000',
},
}SCSS
$custom: #c2ca52; $custom-light: #d7da87; $custom-dark: #000000;
JSON
{
"hex": "#c2ca52",
"rgb": {
"r": 194,
"g": 202,
"b": 82
},
"hsl": {
"h": 64,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.80952,
"c": 0.14304,
"h": 112.7
},
"luminance": 0.5432
}Semantic roles & 50–950 ramp
primary
#C2CA52
secondary
#413C84
accent
#4BDD55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F