#B2CB46#B2CB46
#B2CB46 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.158 H 119.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CB46 |
|---|---|
| RGB | rgb(178, 203, 70) |
| HSL | hsl(71, 56%, 54%) |
| HSV | hsv(71, 66%, 80%) |
| CMYK | cmyk(12.3%, 0%, 65.5%, 20.4%) |
| CIE-LAB | lab(77.65, -26.42, 61.00) |
| CIE-LCH | lch(77.65, 66.48, 113.42°) |
| OKLab | oklab(79.83% -0.0775 0.1382) |
| OKLCH | oklch(79.83% 0.158 119.3) |
| XYZ | xyz(40.8222, 52.6193, 13.7992) |
| Luminance | 0.5262 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.89
Green Yellow
#B5CE08
ΔE00 4.21
Gross Green
#A0BF16
ΔE00 4.31
Yellowgreen
#9ACD32
ΔE00 4.52
Snot Green
#9DC100
ΔE00 4.64
Slime Green
#99CC04
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CB46 #5F46CB
analogous
#CBA146 #B2CB46 #6FCB46
triadic
#B2CB46 #46B2CB #CB46B2
tetradic
#B2CB46 #46CBA1 #5F46CB #CB466F
square
#B2CB46 #46CBA1 #5F46CB #CB466F
split-complementary
#B2CB46 #466FCB #A146CB
monochromatic
#667621 #8FA52E #B2CB46 #C6D876 #DAE6A6
Accessibility & contrast
On white
1.82
#B2CB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B2CB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CB46
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CB46 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#D5C050
Tritanopia (blue-blind)
#BCC0B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cb46; /* rgb */ color: rgb(178, 203, 70); /* oklch */ color: oklch(79.8% 0.158 119.3);
Tailwind
colors: {
custom: {
50: '#ccda80',
500: '#b2cb46',
950: '#000000',
},
}SCSS
$custom: #b2cb46; $custom-light: #ccda80; $custom-dark: #000000;
JSON
{
"hex": "#b2cb46",
"rgb": {
"r": 178,
"g": 203,
"b": 70
},
"hsl": {
"h": 71.278,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.79826,
"c": 0.15845,
"h": 119.3
},
"luminance": 0.52619
}Semantic roles & 50–950 ramp
primary
#B2CB46
secondary
#44377E
accent
#48DF65
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E