#B4E158#B4E158

#B4E158 is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.1% C 0.171 H 125.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#B4E158
RGBrgb(180, 225, 88)
HSLhsl(80, 70%, 61%)
HSVhsv(80, 61%, 88%)
CMYKcmyk(20%, 0%, 60.9%, 11.8%)
CIE-LABlab(84.10, -34.65, 60.57)
CIE-LCHlch(84.10, 69.78, 119.78°)
OKLaboklab(85.11% -0.0988 0.1396)
OKLCHoklch(85.11% 0.171 125.3)
XYZxyz(47.5092, 64.2578, 19.1307)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E158 #8558E1
analogous
#E1CA58 #B4E158 #70E158
triadic
#B4E158 #58B4E1 #E158B4
tetradic
#B4E158 #58E1CA #8558E1 #E15870
square
#B4E158 #58E1CA #8558E1 #E15870
split-complementary
#B4E158 #5870E1 #CA58E1
monochromatic
#76A21D #9CD526 #B4E158 #CBEA8C #E3F4C0

Accessibility & contrast

On white

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

On black

13.85
#B4E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E158
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E158#FFFFFF#000000##000000
##B4E1581.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4e158;
/* rgb */ color: rgb(180, 225, 88);
/* oklch */ color: oklch(85.1% 0.171 125.3);
Tailwind
colors: {
  custom: {
    50: '#cdea8c',
    500: '#b4e158',
    950: '#000000',
  },
}
SCSS
$custom: #b4e158;
$custom-light: #cdea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e158",
  "rgb": {
    "r": 180,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 79.708,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.17103,
    "h": 125.3
  },
  "luminance": 0.64258
}

Semantic roles & 50–950 ramp

primary
#B4E158
secondary
#5C39A4
accent
#14D252
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B4E158

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

Preview Lab → · Contrast checker → · Palette generator →

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