#B2CF51#B2CF51
#B2CF51 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.155 H 120.9°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CF51 |
|---|---|
| RGB | rgb(178, 207, 81) |
| HSL | hsl(74, 57%, 56%) |
| HSV | hsv(74, 61%, 81%) |
| CMYK | cmyk(14%, 0%, 60.9%, 18.8%) |
| CIE-LAB | lab(78.86, -27.56, 57.75) |
| CIE-LCH | lch(78.86, 63.99, 115.51°) |
| OKLab | oklab(80.83% -0.0796 0.1328) |
| OKLCH | oklch(80.83% 0.155 120.9) |
| XYZ | xyz(42.1586, 54.6848, 16.1172) |
| Luminance | 0.5468 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 4.24
Pea
#A4BF20
ΔE00 5.25
Slime Green
#99CC04
ΔE00 5.33
Light Olive Green
#A4BE5C
ΔE00 5.38
Green Yellow
#B5CE08
ΔE00 5.38
Gross Green
#A0BF16
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CF51 #6E51CF
analogous
#CFAD51 #B2CF51 #73CF51
triadic
#B2CF51 #51B2CF #CF51B2
tetradic
#B2CF51 #51CFAD #6E51CF #CF5173
square
#B2CF51 #51CFAD #6E51CF #CF5173
split-complementary
#B2CF51 #5173CF #AD51CF
monochromatic
#6C8224 #94B231 #B2CF51 #C7DC81 #DCE9B1
Accessibility & contrast
On white
1.76
#B2CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#B2CF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CF51
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CF51 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b2cf51; /* rgb */ color: rgb(178, 207, 81); /* oklch */ color: oklch(80.8% 0.155 120.9);
Tailwind
colors: {
custom: {
50: '#ccdd87',
500: '#b2cf51',
950: '#000000',
},
}SCSS
$custom: #b2cf51; $custom-light: #ccdd87; $custom-dark: #000000;
JSON
{
"hex": "#b2cf51",
"rgb": {
"r": 178,
"g": 207,
"b": 81
},
"hsl": {
"h": 73.81,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.80828,
"c": 0.15486,
"h": 120.9
},
"luminance": 0.54685
}Semantic roles & 50–950 ramp
primary
#B2CF51
secondary
#4D3B89
accent
#48E06B
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F