#B2CF3A#B2CF3A
#B2CF3A is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.6% C 0.171 H 120.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CF3A |
|---|---|
| RGB | rgb(178, 207, 58) |
| HSL | hsl(72, 61%, 52%) |
| HSV | hsv(72, 72%, 81%) |
| CMYK | cmyk(14%, 0%, 72%, 18.8%) |
| CIE-LAB | lab(78.69, -29.03, 66.53) |
| CIE-LCH | lch(78.69, 72.59, 113.57°) |
| OKLab | oklab(80.64% -0.0858 0.148) |
| OKLCH | oklch(80.64% 0.171 120.1) |
| XYZ | xyz(41.4374, 54.3963, 12.3187) |
| Luminance | 0.5440 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.04
Slime Green
#99CC04
ΔE00 4.13
Yellowgreen
#9ACD32
ΔE00 4.14
Pea
#A4BF20
ΔE00 4.17
Yellowish Green
#B0DD16
ΔE00 4.25
Gross Green
#A0BF16
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CF3A #573ACF
analogous
#CFA23A #B2CF3A #68CF3A
triadic
#B2CF3A #3AB2CF #CF3AB2
tetradic
#B2CF3A #3ACFA2 #573ACF #CF3A68
square
#B2CF3A #3ACFA2 #573ACF #CF3A68
split-complementary
#B2CF3A #3A68CF #A23ACF
monochromatic
#62731C #8CA428 #B2CF3A #C5DB6B #D8E79C
Accessibility & contrast
On white
1.77
#B2CF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.88
#B2CF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CF3A
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CF3A | 1.00 | 1.77 | 11.88 | 11.88 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#BCC4B2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b2cf3a; /* rgb */ color: rgb(178, 207, 58); /* oklch */ color: oklch(80.6% 0.171 120.1);
Tailwind
colors: {
custom: {
50: '#cddd7a',
500: '#b2cf3a',
950: '#000000',
},
}SCSS
$custom: #b2cf3a; $custom-light: #cddd7a; $custom-dark: #000000;
JSON
{
"hex": "#b2cf3a",
"rgb": {
"r": 178,
"g": 207,
"b": 58
},
"hsl": {
"h": 71.678,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.8064,
"c": 0.17106,
"h": 120.1
},
"luminance": 0.54396
}Semantic roles & 50–950 ramp
primary
#B2CF3A
secondary
#40327B
accent
#44E463
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D