#C2CB51#C2CB51
#C2CB51 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.145 H 113.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CB51 |
|---|---|
| RGB | rgb(194, 203, 81) |
| HSL | hsl(64, 54%, 56%) |
| HSV | hsv(64, 60%, 80%) |
| CMYK | cmyk(4.4%, 0%, 60.1%, 20.4%) |
| CIE-LAB | lab(78.91, -19.15, 58.14) |
| CIE-LCH | lch(78.91, 61.22, 108.23°) |
| OKLab | oklab(81.16% -0.057 0.1333) |
| OKLCH | oklch(81.16% 0.145 113.1) |
| XYZ | xyz(45.0904, 54.7762, 15.9806) |
| Luminance | 0.5477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.92
Bile
#B5C306
ΔE00 4.98
Greenish Beige
#C9D179
ΔE00 5.10
Green Yellow
#B5CE08
ΔE00 5.25
Snot
#ACBB0D
ΔE00 5.88
Pea
#A4BF20
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CB51 #5A51CB
analogous
#CB9751 #C2CB51 #85CB51
triadic
#C2CB51 #51C2CB #CB51C2
tetradic
#C2CB51 #51CB97 #5A51CB #CB5185
square
#C2CB51 #51CB97 #5A51CB #CB5185
split-complementary
#C2CB51 #5185CB #9751CB
monochromatic
#767C25 #A3AC33 #C2CB51 #D3D980 #E3E7AF
Accessibility & contrast
On white
1.76
#C2CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#C2CB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CB51
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CB51 | 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)
#D9C243
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2cb51; /* rgb */ color: rgb(194, 203, 81); /* oklch */ color: oklch(81.2% 0.145 113.1);
Tailwind
colors: {
custom: {
50: '#d7da87',
500: '#c2cb51',
950: '#000000',
},
}SCSS
$custom: #c2cb51; $custom-light: #d7da87; $custom-dark: #000000;
JSON
{
"hex": "#c2cb51",
"rgb": {
"r": 194,
"g": 203,
"b": 81
},
"hsl": {
"h": 64.426,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.8116,
"c": 0.145,
"h": 113.1
},
"luminance": 0.54775
}Semantic roles & 50–950 ramp
primary
#C2CB51
secondary
#413C84
accent
#4ADD55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F