#B2E97B#B2E97B

#B2E97B is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.2% C 0.151 H 130.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#B2E97B
RGBrgb(178, 233, 123)
HSLhsl(90, 71%, 70%)
HSVhsv(90, 47%, 91%)
CMYKcmyk(23.6%, 0%, 47.2%, 8.6%)
CIE-LABlab(86.59, -35.70, 47.62)
CIE-LCHlch(86.59, 59.51, 126.86°)
OKLaboklab(87.2% -0.0988 0.1146)
OKLCHoklch(87.2% 0.151 130.8)
XYZxyz(51.0735, 69.1717, 29.3957)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E97B #B27BE9
analogous
#E9E97B #B2E97B #7BE97B
triadic
#B2E97B #7BB2E9 #E97BB2
tetradic
#B2E97B #7BE9E9 #B27BE9 #E97B7B
square
#B2E97B #7BE9E9 #B27BE9 #E97B7B
split-complementary
#B2E97B #7B7BE9 #E97BE9
monochromatic
#75C821 #93E047 #B2E97B #D1F2AF #EFFAE4

Accessibility & contrast

On white

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

On black

14.83
#B2E97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E97B
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E97B#FFFFFF#000000##000000
##B2E97B1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB72
Deuteranopia (green-blind)
#EAD782
Tritanopia (blue-blind)
#B5E1CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b2e97b;
/* rgb */ color: rgb(178, 233, 123);
/* oklch */ color: oklch(87.2% 0.151 130.8);
Tailwind
colors: {
  custom: {
    50: '#cbf0a3',
    500: '#b2e97b',
    950: '#000000',
  },
}
SCSS
$custom: #b2e97b;
$custom-light: #cbf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e97b",
  "rgb": {
    "r": 178,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 90,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87204,
    "c": 0.15132,
    "h": 130.8
  },
  "luminance": 0.69173
}

Semantic roles & 50–950 ramp

primary
#B2E97B
secondary
#8447C2
accent
#12D373
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #B2E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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