#B2CA39#B2CA39
#B2CA39 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.5% C 0.166 H 118.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CA39 |
|---|---|
| RGB | rgb(178, 202, 57) |
| HSL | hsl(70, 58%, 51%) |
| HSV | hsv(70, 72%, 79%) |
| CMYK | cmyk(11.9%, 0%, 71.8%, 20.8%) |
| CIE-LAB | lab(77.28, -26.70, 65.51) |
| CIE-LCH | lch(77.28, 70.74, 112.17°) |
| OKLab | oklab(79.5% -0.0795 0.1457) |
| OKLCH | oklch(79.5% 0.166 118.6) |
| XYZ | xyz(40.2200, 52.0018, 11.7886) |
| Luminance | 0.5200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.02
Pea
#A4BF20
ΔE00 3.19
Gross Green
#A0BF16
ΔE00 3.64
Baby Puke Green
#B6C406
ΔE00 3.87
Bile
#B5C306
ΔE00 3.91
Snot Green
#9DC100
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CA39 #5139CA
analogous
#CA9939 #B2CA39 #69CA39
triadic
#B2CA39 #39B2CA #CA39B2
tetradic
#B2CA39 #39CA99 #5139CA #CA3969
square
#B2CA39 #39CA99 #5139CA #CA3969
split-complementary
#B2CA39 #3969CA #9939CA
monochromatic
#5F6C1D #899C2A #B2CA39 #C5D769 #D8E49A
Accessibility & contrast
On white
1.84
#B2CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#B2CA39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CA39
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CA39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CA39 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#D5BF45
Tritanopia (blue-blind)
#BDBFAE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b2ca39; /* rgb */ color: rgb(178, 202, 57); /* oklch */ color: oklch(79.5% 0.166 118.6);
Tailwind
colors: {
custom: {
50: '#ccda79',
500: '#b2ca39',
950: '#000000',
},
}SCSS
$custom: #b2ca39; $custom-light: #ccda79; $custom-dark: #000000;
JSON
{
"hex": "#b2ca39",
"rgb": {
"r": 178,
"g": 202,
"b": 57
},
"hsl": {
"h": 69.931,
"s": 57.769,
"l": 50.784
},
"oklch": {
"l": 0.79502,
"c": 0.16593,
"h": 118.6
},
"luminance": 0.52001
}Semantic roles & 50–950 ramp
primary
#B2CA39
secondary
#3D3275
accent
#47E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D