#B4E257#B4E257

#B4E257 is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.3% C 0.173 H 125.4°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#B4E257
RGBrgb(180, 226, 87)
HSLhsl(80, 71%, 61%)
HSVhsv(80, 62%, 89%)
CMYKcmyk(20.4%, 0%, 61.5%, 11.4%)
CIE-LABlab(84.37, -35.19, 61.28)
CIE-LCHlch(84.37, 70.67, 119.86°)
OKLaboklab(85.32% -0.1004 0.141)
OKLCHoklch(85.32% 0.173 125.4)
XYZxyz(47.7392, 64.7836, 19.0044)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E257 #8557E2
analogous
#E2CB57 #B4E257 #6FE257
triadic
#B4E257 #57B4E2 #E257B4
tetradic
#B4E257 #57E2CB #8557E2 #E2576F
square
#B4E257 #57E2CB #8557E2 #E2576F
split-complementary
#B4E257 #576FE2 #CB57E2
monochromatic
#76A31C #9CD725 #B4E257 #CBEB8B #E3F4BF

Accessibility & contrast

On white

1.50
#B4E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#B4E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E257
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E257#FFFFFF#000000##000000
##B4E2571.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#BBD8C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b4e257;
/* rgb */ color: rgb(180, 226, 87);
/* oklch */ color: oklch(85.3% 0.173 125.4);
Tailwind
colors: {
  custom: {
    50: '#cdeb8c',
    500: '#b4e257',
    950: '#000000',
  },
}
SCSS
$custom: #b4e257;
$custom-light: #cdeb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e257",
  "rgb": {
    "r": 180,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 79.856,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85323,
    "c": 0.17308,
    "h": 125.4
  },
  "luminance": 0.64784
}

Semantic roles & 50–950 ramp

primary
#B4E257
secondary
#5C38A5
accent
#13D352
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B4E257

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

Preview Lab → · Contrast checker → · Palette generator →

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