#B4E987#B4E987

#B4E987 is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.5% C 0.138 H 131.9°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#B4E987
RGBrgb(180, 233, 135)
HSLhsl(92, 69%, 72%)
HSVhsv(92, 42%, 91%)
CMYKcmyk(22.7%, 0%, 42.1%, 8.6%)
CIE-LABlab(86.86, -33.57, 42.17)
CIE-LCHlch(86.86, 53.90, 128.52°)
OKLaboklab(87.51% -0.0923 0.103)
OKLCHoklch(87.51% 0.138 131.9)
XYZxyz(52.3336, 69.7292, 33.6188)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E987 #BC87E9
analogous
#E5E987 #B4E987 #87E98B
triadic
#B4E987 #87B4E9 #E987B4
tetradic
#B4E987 #87E5E9 #BC87E9 #E98B87
square
#B4E987 #87E5E9 #BC87E9 #E98B87
split-complementary
#B4E987 #8B87E9 #E987E5
monochromatic
#74D026 #94E053 #B4E987 #D4F2BB #EFFAE5

Accessibility & contrast

On white

1.41
#B4E987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#B4E987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E987
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E987#FFFFFF#000000##000000
##B4E9871.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC7F
Deuteranopia (green-blind)
#E9D88D
Tritanopia (blue-blind)
#B6E2D1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b4e987;
/* rgb */ color: rgb(180, 233, 135);
/* oklch */ color: oklch(87.5% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#ccf0ab',
    500: '#b4e987',
    950: '#000000',
  },
}
SCSS
$custom: #b4e987;
$custom-light: #ccf0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e987",
  "rgb": {
    "r": 180,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 92.449,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87508,
    "c": 0.13828,
    "h": 131.9
  },
  "luminance": 0.6973
}

Semantic roles & 50–950 ramp

primary
#B4E987
secondary
#8F52C3
accent
#15D17A
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #B4E987

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

Preview Lab → · Contrast checker → · Palette generator →

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