#B2CB45#B2CB45
#B2CB45 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.159 H 119.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CB45 |
|---|---|
| RGB | rgb(178, 203, 69) |
| HSL | hsl(71, 56%, 53%) |
| HSV | hsv(71, 66%, 80%) |
| CMYK | cmyk(12.3%, 0%, 66%, 20.4%) |
| CIE-LAB | lab(77.64, -26.48, 61.39) |
| CIE-LCH | lch(77.64, 66.86, 113.33°) |
| OKLab | oklab(79.82% -0.0778 0.1389) |
| OKLCH | oklch(79.82% 0.159 119.2) |
| XYZ | xyz(40.7909, 52.6068, 13.6343) |
| Luminance | 0.5261 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.83
Green Yellow
#B5CE08
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.25
Yellowgreen
#9ACD32
ΔE00 4.52
Snot Green
#9DC100
ΔE00 4.58
Slime Green
#99CC04
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CB45 #5E45CB
analogous
#CBA145 #B2CB45 #6FCB45
triadic
#B2CB45 #45B2CB #CB45B2
tetradic
#B2CB45 #45CBA1 #5E45CB #CB456F
square
#B2CB45 #45CBA1 #5E45CB #CB456F
split-complementary
#B2CB45 #456FCB #A145CB
monochromatic
#657521 #8FA52E #B2CB45 #C6D875 #DAE6A5
Accessibility & contrast
On white
1.82
#B2CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B2CB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CB45
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CB45 | 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)
#D8C032
Deuteranopia (green-blind)
#D5C04F
Tritanopia (blue-blind)
#BCC0B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cb45; /* rgb */ color: rgb(178, 203, 69); /* oklch */ color: oklch(79.8% 0.159 119.2);
Tailwind
colors: {
custom: {
50: '#ccda80',
500: '#b2cb45',
950: '#000000',
},
}SCSS
$custom: #b2cb45; $custom-light: #ccda80; $custom-dark: #000000;
JSON
{
"hex": "#b2cb45",
"rgb": {
"r": 178,
"g": 203,
"b": 69
},
"hsl": {
"h": 71.194,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.79818,
"c": 0.15917,
"h": 119.2
},
"luminance": 0.52607
}Semantic roles & 50–950 ramp
primary
#B2CB45
secondary
#44377E
accent
#48E064
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E