#B2CA37#B2CA37
#B2CA37 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.5% C 0.167 H 118.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CA37 |
|---|---|
| RGB | rgb(178, 202, 55) |
| HSL | hsl(70, 58%, 50%) |
| HSV | hsv(70, 73%, 79%) |
| CMYK | cmyk(11.9%, 0%, 72.8%, 20.8%) |
| CIE-LAB | lab(77.27, -26.80, 66.19) |
| CIE-LCH | lch(77.27, 71.41, 112.04°) |
| OKLab | oklab(79.49% -0.0799 0.1468) |
| OKLCH | oklch(79.49% 0.167 118.6) |
| XYZ | xyz(40.1711, 51.9822, 11.5310) |
| Luminance | 0.5198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.86
Pea
#A4BF20
ΔE00 3.15
Gross Green
#A0BF16
ΔE00 3.59
Baby Puke Green
#B6C406
ΔE00 3.73
Bile
#B5C306
ΔE00 3.77
Snot Green
#9DC100
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CA37 #4F37CA
analogous
#CA9837 #B2CA37 #68CA37
triadic
#B2CA37 #37B2CA #CA37B2
tetradic
#B2CA37 #37CA98 #4F37CA #CA3768
square
#B2CA37 #37CA98 #4F37CA #CA3768
split-complementary
#B2CA37 #3768CA #9837CA
monochromatic
#5E6A1C #889B29 #B2CA37 #C5D767 #D7E498
Accessibility & contrast
On white
1.84
#B2CA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#B2CA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CA37
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CA37 | 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)
#D7BF1A
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#BDBFAE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b2ca37; /* rgb */ color: rgb(178, 202, 55); /* oklch */ color: oklch(79.5% 0.167 118.6);
Tailwind
colors: {
custom: {
50: '#cdda78',
500: '#b2ca37',
950: '#000000',
},
}SCSS
$custom: #b2ca37; $custom-light: #cdda78; $custom-dark: #000000;
JSON
{
"hex": "#b2ca37",
"rgb": {
"r": 178,
"g": 202,
"b": 55
},
"hsl": {
"h": 69.796,
"s": 58.103,
"l": 50.392
},
"oklch": {
"l": 0.79489,
"c": 0.16711,
"h": 118.6
},
"luminance": 0.51982
}Semantic roles & 50–950 ramp
primary
#B2CA37
secondary
#3C3174
accent
#46E160
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D