#B4E798#B4E798

#B4E798 is a very light, moderate yellow-green. Relative luminance 0.691; OKLCH L 87.3% C 0.117 H 135.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#B4E798
RGBrgb(180, 231, 152)
HSLhsl(99, 62%, 75%)
HSVhsv(99, 34%, 91%)
CMYKcmyk(22.1%, 0%, 34.2%, 9.4%)
CIE-LABlab(86.56, -30.38, 33.30)
CIE-LCHlch(86.56, 45.07, 132.37°)
OKLaboklab(87.35% -0.0828 0.083)
OKLCHoklch(87.35% 0.117 135)
XYZxyz(53.0645, 69.1208, 40.2456)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E798 #CB98E7
analogous
#DCE798 #B4E798 #98E7A3
triadic
#B4E798 #98B4E7 #E798B4
tetradic
#B4E798 #98DCE7 #CB98E7 #E7A398
square
#B4E798 #98DCE7 #CB98E7 #E7A398
split-complementary
#B4E798 #A398E7 #E798DC
monochromatic
#6CD035 #90DB66 #B4E798 #D8F3CA #EDF9E6

Accessibility & contrast

On white

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

On black

14.82
#B4E798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E798
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E798#FFFFFF#000000##000000
##B4E7981.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB93
Deuteranopia (green-blind)
#E5D79C
Tritanopia (blue-blind)
#B4E1D3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b4e798;
/* rgb */ color: rgb(180, 231, 152);
/* oklch */ color: oklch(87.3% 0.117 135.0);
Tailwind
colors: {
  custom: {
    50: '#cbeeb7',
    500: '#b4e798',
    950: '#000000',
  },
}
SCSS
$custom: #b4e798;
$custom-light: #cbeeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e798",
  "rgb": {
    "r": 180,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 98.734,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.87349,
    "c": 0.11725,
    "h": 135
  },
  "luminance": 0.69122
}

Semantic roles & 50–950 ramp

primary
#B4E798
secondary
#9F62C1
accent
#1CCA8C
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131611
muted
#838581

Preview Lab

Preview with #B4E798

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

Preview Lab → · Contrast checker → · Palette generator →

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