#B2CB4F#B2CB4F
#B2CB4F is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.152 H 119.6°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CB4F |
|---|---|
| RGB | rgb(178, 203, 79) |
| HSL | hsl(72, 54%, 55%) |
| HSV | hsv(72, 61%, 80%) |
| CMYK | cmyk(12.3%, 0%, 61.1%, 20.4%) |
| CIE-LAB | lab(77.72, -25.79, 57.37) |
| CIE-LCH | lch(77.72, 62.90, 114.21°) |
| OKLab | oklab(79.91% -0.0749 0.1317) |
| OKLCH | oklch(79.91% 0.152 119.6) |
| XYZ | xyz(41.1279, 52.7416, 15.4091) |
| Luminance | 0.5274 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 4.54
Yellowgreen
#9ACD32
ΔE00 4.70
Light Olive Green
#A4BE5C
ΔE00 4.81
Gross Green
#A0BF16
ΔE00 4.96
Green Yellow
#B5CE08
ΔE00 5.21
Sick Green
#9DB92C
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CB4F #684FCB
analogous
#CBA64F #B2CB4F #74CB4F
triadic
#B2CB4F #4FB2CB #CB4FB2
tetradic
#B2CB4F #4FCBA6 #684FCB #CB4F74
square
#B2CB4F #4FCBA6 #684FCB #CB4F74
split-complementary
#B2CB4F #4F74CB #A64FCB
monochromatic
#6A7B24 #92AA32 #B2CB4F #C7D97E #DBE7AD
Accessibility & contrast
On white
1.82
#B2CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#B2CB4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CB4F
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CB4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CB4F | 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)
#D7C040
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#BBC1B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cb4f; /* rgb */ color: rgb(178, 203, 79); /* oklch */ color: oklch(79.9% 0.152 119.6);
Tailwind
colors: {
custom: {
50: '#ccda85',
500: '#b2cb4f',
950: '#000000',
},
}SCSS
$custom: #b2cb4f; $custom-light: #ccda85; $custom-dark: #000000;
JSON
{
"hex": "#b2cb4f",
"rgb": {
"r": 178,
"g": 203,
"b": 79
},
"hsl": {
"h": 72.097,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.79907,
"c": 0.15153,
"h": 119.6
},
"luminance": 0.52741
}Semantic roles & 50–950 ramp
primary
#B2CB4F
secondary
#493B83
accent
#4ADE68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E