#B2CB52#B2CB52
#B2CB52 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.149 H 119.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CB52 |
|---|---|
| RGB | rgb(178, 203, 82) |
| HSL | hsl(72, 54%, 56%) |
| HSV | hsv(72, 60%, 80%) |
| CMYK | cmyk(12.3%, 0%, 59.6%, 20.4%) |
| CIE-LAB | lab(77.75, -25.56, 56.10) |
| CIE-LCH | lch(77.75, 61.65, 114.50°) |
| OKLab | oklab(79.94% -0.0739 0.1294) |
| OKLCH | oklch(79.94% 0.149 119.7) |
| XYZ | xyz(41.2396, 52.7862, 15.9972) |
| Luminance | 0.5279 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 4.56
Pea
#A4BF20
ΔE00 4.80
Yellowgreen
#9ACD32
ΔE00 4.82
Gross Green
#A0BF16
ΔE00 5.22
Light Olive
#ACBF69
ΔE00 5.39
Sick Green
#9DB92C
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CB52 #6B52CB
analogous
#CBA852 #B2CB52 #75CB52
triadic
#B2CB52 #52B2CB #CB52B2
tetradic
#B2CB52 #52CBA8 #6B52CB #CB5275
square
#B2CB52 #52CBA8 #6B52CB #CB5275
split-complementary
#B2CB52 #5275CB #A852CB
monochromatic
#6B7D26 #93AC34 #B2CB52 #C7D981 #DCE7B0
Accessibility & contrast
On white
1.82
#B2CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#B2CB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CB52
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CB52 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#BBC1B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cb52; /* rgb */ color: rgb(178, 203, 82); /* oklch */ color: oklch(79.9% 0.149 119.7);
Tailwind
colors: {
custom: {
50: '#ccda87',
500: '#b2cb52',
950: '#000000',
},
}SCSS
$custom: #b2cb52; $custom-light: #ccda87; $custom-dark: #000000;
JSON
{
"hex": "#b2cb52",
"rgb": {
"r": 178,
"g": 203,
"b": 82
},
"hsl": {
"h": 72.397,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.79937,
"c": 0.14907,
"h": 119.7
},
"luminance": 0.52786
}Semantic roles & 50–950 ramp
primary
#B2CB52
secondary
#4B3C85
accent
#4BDD69
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F