#B4E871#B4E871

#B4E871 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 87.0% C 0.159 H 128.8°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#B4E871
RGBrgb(180, 232, 113)
HSLhsl(86, 72%, 68%)
HSVhsv(86, 51%, 91%)
CMYKcmyk(22.4%, 0%, 51.3%, 9%)
CIE-LABlab(86.31, -35.60, 52.01)
CIE-LCHlch(86.31, 63.02, 124.39°)
OKLaboklab(86.97% -0.0993 0.1236)
OKLCHoklch(86.97% 0.159 128.8)
XYZxyz(50.6593, 68.6078, 26.1932)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E871 #A571E8
analogous
#E8E071 #B4E871 #79E871
triadic
#B4E871 #71B4E8 #E871B4
tetradic
#B4E871 #71E8E0 #A571E8 #E87179
square
#B4E871 #71E8E0 #A571E8 #E87179
split-complementary
#B4E871 #7179E8 #E071E8
monochromatic
#79C01F #98DF3C #B4E871 #D0F1A6 #ECF9DA

Accessibility & contrast

On white

1.43
#B4E871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#B4E871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E871
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E871#FFFFFF#000000##000000
##B4E8711.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA66
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#B8DFCD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #b4e871;
/* rgb */ color: rgb(180, 232, 113);
/* oklch */ color: oklch(87.0% 0.159 128.8);
Tailwind
colors: {
  custom: {
    50: '#cdef9c',
    500: '#b4e871',
    950: '#000000',
  },
}
SCSS
$custom: #b4e871;
$custom-light: #cdef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e871",
  "rgb": {
    "r": 180,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 86.218,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86971,
    "c": 0.15857,
    "h": 128.8
  },
  "luminance": 0.68609
}

Semantic roles & 50–950 ramp

primary
#B4E871
secondary
#773FBF
accent
#11D466
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160E
muted
#83857F

Preview Lab

Preview with #B4E871

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

Preview Lab → · Contrast checker → · Palette generator →

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