#B2E158#B2E158

#B2E158 is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.0% C 0.172 H 125.9°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#B2E158
RGBrgb(178, 225, 88)
HSLhsl(81, 70%, 61%)
HSVhsv(81, 61%, 88%)
CMYKcmyk(20.9%, 0%, 60.9%, 11.8%)
CIE-LABlab(83.98, -35.41, 60.40)
CIE-LCHlch(83.98, 70.01, 120.38°)
OKLaboklab(84.97% -0.1008 0.1393)
OKLCHoklch(84.97% 0.172 125.9)
XYZxyz(47.0469, 64.0194, 19.1090)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E158 #8758E1
analogous
#E1CC58 #B2E158 #6EE158
triadic
#B2E158 #58B2E1 #E158B2
tetradic
#B2E158 #58E1CC #8758E1 #E1586E
square
#B2E158 #58E1CC #8758E1 #E1586E
split-complementary
#B2E158 #586EE1 #CC58E1
monochromatic
#74A21D #99D526 #B2E158 #CAEA8C #E2F4C0

Accessibility & contrast

On white

1.52
#B2E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#B2E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E158
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E158#FFFFFF#000000##000000
##B2E1581.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD348
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#B9D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b2e158;
/* rgb */ color: rgb(178, 225, 88);
/* oklch */ color: oklch(85.0% 0.172 125.9);
Tailwind
colors: {
  custom: {
    50: '#ccea8c',
    500: '#b2e158',
    950: '#000000',
  },
}
SCSS
$custom: #b2e158;
$custom-light: #ccea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e158",
  "rgb": {
    "r": 178,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 80.584,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84974,
    "c": 0.17191,
    "h": 125.9
  },
  "luminance": 0.6402
}

Semantic roles & 50–950 ramp

primary
#B2E158
secondary
#5E39A4
accent
#14D255
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B2E158

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

Preview Lab → · Contrast checker → · Palette generator →

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