#C2CB4F#C2CB4F
#C2CB4F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.147 H 113.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CB4F |
|---|---|
| RGB | rgb(194, 203, 79) |
| HSL | hsl(64, 54%, 55%) |
| HSV | hsv(64, 61%, 80%) |
| CMYK | cmyk(4.4%, 0%, 61.1%, 20.4%) |
| CIE-LAB | lab(78.90, -19.29, 58.98) |
| CIE-LCH | lch(78.90, 62.05, 108.11°) |
| OKLab | oklab(81.14% -0.0576 0.1348) |
| OKLCH | oklch(81.14% 0.147 113.1) |
| XYZ | xyz(45.0165, 54.7466, 15.5914) |
| Luminance | 0.5475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.71
Bile
#B5C306
ΔE00 4.78
Green Yellow
#B5CE08
ΔE00 5.06
Greenish Beige
#C9D179
ΔE00 5.32
Snot
#ACBB0D
ΔE00 5.73
Pea
#A4BF20
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CB4F #584FCB
analogous
#CB964F #C2CB4F #84CB4F
triadic
#C2CB4F #4FC2CB #CB4FC2
tetradic
#C2CB4F #4FCB96 #584FCB #CB4F84
square
#C2CB4F #4FCB96 #584FCB #CB4F84
split-complementary
#C2CB4F #4F84CB #964FCB
monochromatic
#757B24 #A2AA32 #C2CB4F #D2D97E #E3E7AD
Accessibility & contrast
On white
1.76
#C2CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#C2CB4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CB4F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CB4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CB4F | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2cb4f; /* rgb */ color: rgb(194, 203, 79); /* oklch */ color: oklch(81.1% 0.147 113.1);
Tailwind
colors: {
custom: {
50: '#d7da86',
500: '#c2cb4f',
950: '#000000',
},
}SCSS
$custom: #c2cb4f; $custom-light: #d7da86; $custom-dark: #000000;
JSON
{
"hex": "#c2cb4f",
"rgb": {
"r": 194,
"g": 203,
"b": 79
},
"hsl": {
"h": 64.355,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.81141,
"c": 0.14661,
"h": 113.1
},
"luminance": 0.54746
}Semantic roles & 50–950 ramp
primary
#C2CB4F
secondary
#403B83
accent
#4ADE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E