#B2CB51#B2CB51
#B2CB51 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.150 H 119.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CB51 |
|---|---|
| RGB | rgb(178, 203, 81) |
| HSL | hsl(72, 54%, 56%) |
| HSV | hsv(72, 60%, 80%) |
| CMYK | cmyk(12.3%, 0%, 60.1%, 20.4%) |
| CIE-LAB | lab(77.74, -25.64, 56.53) |
| CIE-LCH | lch(77.74, 62.07, 114.40°) |
| OKLab | oklab(79.93% -0.0743 0.1302) |
| OKLCH | oklch(79.93% 0.15 119.7) |
| XYZ | xyz(41.2018, 52.7711, 15.7983) |
| Luminance | 0.5277 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 4.64
Pea
#A4BF20
ΔE00 4.71
Yellowgreen
#9ACD32
ΔE00 4.77
Gross Green
#A0BF16
ΔE00 5.13
Sick Green
#9DB92C
ΔE00 5.35
Green Yellow
#B5CE08
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CB51 #6A51CB
analogous
#CBA751 #B2CB51 #75CB51
triadic
#B2CB51 #51B2CB #CB51B2
tetradic
#B2CB51 #51CBA7 #6A51CB #CB5175
square
#B2CB51 #51CBA7 #6A51CB #CB5175
split-complementary
#B2CB51 #5175CB #A751CB
monochromatic
#6B7C25 #93AC33 #B2CB51 #C7D980 #DCE7AF
Accessibility & contrast
On white
1.82
#B2CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#B2CB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CB51
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CB51 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#BBC1B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cb51; /* rgb */ color: rgb(178, 203, 81); /* oklch */ color: oklch(79.9% 0.150 119.7);
Tailwind
colors: {
custom: {
50: '#ccda87',
500: '#b2cb51',
950: '#000000',
},
}SCSS
$custom: #b2cb51; $custom-light: #ccda87; $custom-dark: #000000;
JSON
{
"hex": "#b2cb51",
"rgb": {
"r": 178,
"g": 203,
"b": 81
},
"hsl": {
"h": 72.295,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.79927,
"c": 0.1499,
"h": 119.7
},
"luminance": 0.52771
}Semantic roles & 50–950 ramp
primary
#B2CB51
secondary
#4B3C84
accent
#4ADD69
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F