#C2CB52#C2CB52
#C2CB52 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.144 H 113.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CB52 |
|---|---|
| RGB | rgb(194, 203, 82) |
| HSL | hsl(64, 54%, 56%) |
| HSV | hsv(64, 60%, 80%) |
| CMYK | cmyk(4.4%, 0%, 59.6%, 20.4%) |
| CIE-LAB | lab(78.92, -19.07, 57.72) |
| CIE-LCH | lch(78.92, 60.79, 108.29°) |
| OKLab | oklab(81.17% -0.0567 0.1326) |
| OKLCH | oklch(81.17% 0.144 113.1) |
| XYZ | xyz(45.1281, 54.7913, 16.1795) |
| Luminance | 0.5479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.99
Baby Puke Green
#B6C406
ΔE00 5.02
Bile
#B5C306
ΔE00 5.08
Green Yellow
#B5CE08
ΔE00 5.35
Pea
#A4BF20
ΔE00 5.95
Snot
#ACBB0D
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CB52 #5B52CB
analogous
#CB9752 #C2CB52 #85CB52
triadic
#C2CB52 #52C2CB #CB52C2
tetradic
#C2CB52 #52CB97 #5B52CB #CB5285
square
#C2CB52 #52CB97 #5B52CB #CB5285
split-complementary
#C2CB52 #5285CB #9752CB
monochromatic
#777D26 #A3AC34 #C2CB52 #D3D981 #E3E7B0
Accessibility & contrast
On white
1.76
#C2CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#C2CB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CB52
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CB52 | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2cb52; /* rgb */ color: rgb(194, 203, 82); /* oklch */ color: oklch(81.2% 0.144 113.1);
Tailwind
colors: {
custom: {
50: '#d7da87',
500: '#c2cb52',
950: '#000000',
},
}SCSS
$custom: #c2cb52; $custom-light: #d7da87; $custom-dark: #000000;
JSON
{
"hex": "#c2cb52",
"rgb": {
"r": 194,
"g": 203,
"b": 82
},
"hsl": {
"h": 64.463,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.8117,
"c": 0.14418,
"h": 113.1
},
"luminance": 0.5479
}Semantic roles & 50–950 ramp
primary
#C2CB52
secondary
#423C85
accent
#4BDD56
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F