#B4E998#B4E998

#B4E998 is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 87.8% C 0.120 H 135.2°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#B4E998
RGBrgb(180, 233, 152)
HSLhsl(99, 65%, 75%)
HSVhsv(99, 35%, 91%)
CMYKcmyk(22.7%, 0%, 34.8%, 8.6%)
CIE-LABlab(87.12, -31.31, 34.03)
CIE-LCHlch(87.12, 46.25, 132.61°)
OKLaboklab(87.8% -0.0854 0.0847)
OKLCHoklch(87.8% 0.12 135.2)
XYZxyz(53.6275, 70.2468, 40.4332)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E998 #CD98E9
analogous
#DDE998 #B4E998 #98E9A4
triadic
#B4E998 #98B4E9 #E998B4
tetradic
#B4E998 #98DDE9 #CD98E9 #E9A498
square
#B4E998 #98DDE9 #CD98E9 #E9A498
split-complementary
#B4E998 #A498E9 #E998DD
monochromatic
#6BD333 #8FDE66 #B4E998 #D9F4CA #EDFAE6

Accessibility & contrast

On white

1.40
#B4E998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#B4E998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E998
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E998#FFFFFF#000000##000000
##B4E9981.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD92
Deuteranopia (green-blind)
#E7D99C
Tritanopia (blue-blind)
#B4E3D4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #b4e998;
/* rgb */ color: rgb(180, 233, 152);
/* oklch */ color: oklch(87.8% 0.120 135.2);
Tailwind
colors: {
  custom: {
    50: '#ccf0b7',
    500: '#b4e998',
    950: '#000000',
  },
}
SCSS
$custom: #b4e998;
$custom-light: #ccf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e998",
  "rgb": {
    "r": 180,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 99.259,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.87795,
    "c": 0.1203,
    "h": 135.2
  },
  "luminance": 0.70248
}

Semantic roles & 50–950 ramp

primary
#B4E998
secondary
#A261C4
accent
#19CD8E
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131611
muted
#838581

Preview Lab

Preview with #B4E998

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

Preview Lab → · Contrast checker → · Palette generator →

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