#C2CB40#C2CB40
#C2CB40 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.0% C 0.158 H 113.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CB40 |
|---|---|
| RGB | rgb(194, 203, 64) |
| HSL | hsl(64, 57%, 52%) |
| HSV | hsv(64, 68%, 80%) |
| CMYK | cmyk(4.4%, 0%, 68.5%, 20.4%) |
| CIE-LAB | lab(78.78, -20.21, 64.85) |
| CIE-LCH | lch(78.78, 67.93, 107.31°) |
| OKLab | oklab(81.02% -0.0617 0.145) |
| OKLCH | oklch(81.02% 0.158 113) |
| XYZ | xyz(44.5308, 54.5523, 13.0333) |
| Luminance | 0.5455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.40
Bile
#B5C306
ΔE00 3.52
Green Yellow
#B5CE08
ΔE00 3.93
Snot
#ACBB0D
ΔE00 4.96
Puke Yellow
#C2BE0E
ΔE00 5.07
Vomit Yellow
#C7C10C
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CB40 #4940CB
analogous
#CB8F40 #C2CB40 #7CCB40
triadic
#C2CB40 #40C2CB #CB40C2
tetradic
#C2CB40 #40CB8F #4940CB #CB407C
square
#C2CB40 #40CB8F #4940CB #CB407C
split-complementary
#C2CB40 #407CCB #8F40CB
monochromatic
#6C721F #9AA22C #C2CB40 #D1D870 #E1E5A0
Accessibility & contrast
On white
1.76
#C2CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#C2CB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CB40
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CB40 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#DAC44A
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2cb40; /* rgb */ color: rgb(194, 203, 64); /* oklch */ color: oklch(81.0% 0.158 113.0);
Tailwind
colors: {
custom: {
50: '#d8da7d',
500: '#c2cb40',
950: '#000000',
},
}SCSS
$custom: #c2cb40; $custom-light: #d8da7d; $custom-dark: #000000;
JSON
{
"hex": "#c2cb40",
"rgb": {
"r": 194,
"g": 203,
"b": 64
},
"hsl": {
"h": 63.885,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.81015,
"c": 0.15755,
"h": 113
},
"luminance": 0.54551
}Semantic roles & 50–950 ramp
primary
#C2CB40
secondary
#39357B
accent
#47E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D