#B4E962#B4E962

#B4E962 is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.0% C 0.173 H 127.6°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#B4E962
RGBrgb(180, 233, 98)
HSLhsl(84, 75%, 65%)
HSVhsv(84, 58%, 91%)
CMYKcmyk(22.7%, 0%, 57.9%, 8.6%)
CIE-LABlab(86.44, -37.46, 58.90)
CIE-LCHlch(86.44, 69.80, 122.46°)
OKLaboklab(87.02% -0.1057 0.1371)
OKLCHoklch(87.02% 0.173 127.6)
XYZxyz(50.1658, 68.8621, 22.2016)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E962 #9762E9
analogous
#E9DB62 #B4E962 #70E962
triadic
#B4E962 #62B4E9 #E962B4
tetradic
#B4E962 #62E9DB #9762E9 #E96270
square
#B4E962 #62E9DB #9762E9 #E96270
split-complementary
#B4E962 #6270E9 #DB62E9
monochromatic
#79B71A #9AE12C #B4E962 #CEF198 #E7F8CD

Accessibility & contrast

On white

1.42
#B4E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#B4E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E962
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E962#FFFFFF#000000##000000
##B4E9621.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB53
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#BADFCC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #b4e962;
/* rgb */ color: rgb(180, 233, 98);
/* oklch */ color: oklch(87.0% 0.173 127.6);
Tailwind
colors: {
  custom: {
    50: '#cdf093',
    500: '#b4e962',
    950: '#000000',
  },
}
SCSS
$custom: #b4e962;
$custom-light: #cdf093;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e962",
  "rgb": {
    "r": 180,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 83.556,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87023,
    "c": 0.17316,
    "h": 127.6
  },
  "luminance": 0.68863
}

Semantic roles & 50–950 ramp

primary
#B4E962
secondary
#6A38B7
accent
#0ED85D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #B4E962

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

Preview Lab → · Contrast checker → · Palette generator →

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