#B2E971#B2E971

#B2E971 is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.1% C 0.161 H 129.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#B2E971
RGBrgb(178, 233, 113)
HSLhsl(88, 73%, 68%)
HSVhsv(88, 52%, 91%)
CMYKcmyk(23.6%, 0%, 51.5%, 8.6%)
CIE-LABlab(86.47, -36.77, 52.17)
CIE-LCHlch(86.47, 63.83, 125.18°)
OKLaboklab(87.07% -0.1025 0.124)
OKLCHoklch(87.07% 0.161 129.6)
XYZxyz(50.4792, 68.9340, 26.2656)
Luminance0.6894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E971 #A871E9
analogous
#E9E471 #B2E971 #76E971
triadic
#B2E971 #71B2E9 #E971B2
tetradic
#B2E971 #71E9E4 #A871E9 #E97176
square
#B2E971 #71E9E4 #A871E9 #E97176
split-complementary
#B2E971 #7176E9 #E471E9
monochromatic
#77C21E #95E13C #B2E971 #CFF1A6 #EBF9DB

Accessibility & contrast

On white

1.42
#B2E971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#B2E971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E971
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E971#FFFFFF#000000##000000
##B2E9711.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#EBD779
Tritanopia (blue-blind)
#B6E0CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #b2e971;
/* rgb */ color: rgb(178, 233, 113);
/* oklch */ color: oklch(87.1% 0.161 129.6);
Tailwind
colors: {
  custom: {
    50: '#cbf09d',
    500: '#b2e971',
    950: '#000000',
  },
}
SCSS
$custom: #b2e971;
$custom-light: #cbf09d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e971",
  "rgb": {
    "r": 178,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 87.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87071,
    "c": 0.16087,
    "h": 129.6
  },
  "luminance": 0.68935
}

Semantic roles & 50–950 ramp

primary
#B2E971
secondary
#7A3EC0
accent
#10D56B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160E
muted
#83857F

Preview Lab

Preview with #B2E971

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B2E971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva