#C2CA3B#C2CA3B
#C2CA3B is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.160 H 112.7°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CA3B |
|---|---|
| RGB | rgb(194, 202, 59) |
| HSL | hsl(63, 57%, 51%) |
| HSV | hsv(63, 71%, 79%) |
| CMYK | cmyk(4%, 0%, 70.8%, 20.8%) |
| CIE-LAB | lab(78.48, -19.97, 66.37) |
| CIE-LCH | lch(78.48, 69.31, 106.75°) |
| OKLab | oklab(80.76% -0.0615 0.1474) |
| OKLCH | oklch(80.76% 0.16 112.7) |
| XYZ | xyz(44.1594, 54.0272, 12.2389) |
| Luminance | 0.5403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.03
Bile
#B5C306
ΔE00 3.16
Green Yellow
#B5CE08
ΔE00 3.87
Puke Yellow
#C2BE0E
ΔE00 4.56
Vomit Yellow
#C7C10C
ΔE00 4.66
Snot
#ACBB0D
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CA3B #433BCA
analogous
#CA8A3B #C2CA3B #7ACA3B
triadic
#C2CA3B #3BC2CA #CA3BC2
tetradic
#C2CA3B #3BCA8A #433BCA #CA3B7A
square
#C2CA3B #3BCA8A #433BCA #CA3B7A
split-complementary
#C2CA3B #3B7ACA #8A3BCA
monochromatic
#696D1E #979D2B #C2CA3B #D1D76B #E0E49B
Accessibility & contrast
On white
1.78
#C2CA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#C2CA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CA3B
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CA3B | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C121
Deuteranopia (green-blind)
#D9C446
Tritanopia (blue-blind)
#CFBEAE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c2ca3b; /* rgb */ color: rgb(194, 202, 59); /* oklch */ color: oklch(80.8% 0.160 112.7);
Tailwind
colors: {
custom: {
50: '#d8d97a',
500: '#c2ca3b',
950: '#000000',
},
}SCSS
$custom: #c2ca3b; $custom-light: #d8d97a; $custom-dark: #000000;
JSON
{
"hex": "#c2ca3b",
"rgb": {
"r": 194,
"g": 202,
"b": 59
},
"hsl": {
"h": 63.357,
"s": 57.43,
"l": 51.176
},
"oklch": {
"l": 0.8076,
"c": 0.15967,
"h": 112.7
},
"luminance": 0.54026
}Semantic roles & 50–950 ramp
primary
#C2CA3B
secondary
#363377
accent
#47E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D