#B4E797#B4E797

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

Color values

HEX#B4E797
RGBrgb(180, 231, 151)
HSLhsl(98, 63%, 75%)
HSVhsv(98, 35%, 91%)
CMYKcmyk(22.1%, 0%, 34.6%, 9.4%)
CIE-LABlab(86.55, -30.52, 33.79)
CIE-LCHlch(86.55, 45.53, 132.09°)
OKLaboklab(87.33% -0.0832 0.0841)
OKLCHoklch(87.33% 0.118 134.7)
XYZxyz(52.9829, 69.0882, 39.8160)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E797 #CA97E7
analogous
#DCE797 #B4E797 #97E7A2
triadic
#B4E797 #97B4E7 #E797B4
tetradic
#B4E797 #97DCE7 #CA97E7 #E7A297
square
#B4E797 #97DCE7 #CA97E7 #E7A297
split-complementary
#B4E797 #A297E7 #E797DC
monochromatic
#6CD034 #90DC65 #B4E797 #D8F2C9 #EDF9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4E797#FFFFFF#000000##000000
##B4E7971.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)
#EDDB92
Deuteranopia (green-blind)
#E5D79B
Tritanopia (blue-blind)
#B4E1D3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b4e797;
/* rgb */ color: rgb(180, 231, 151);
/* oklch */ color: oklch(87.3% 0.118 134.7);
Tailwind
colors: {
  custom: {
    50: '#cbeeb6',
    500: '#b4e797',
    950: '#000000',
  },
}
SCSS
$custom: #b4e797;
$custom-light: #cbeeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e797",
  "rgb": {
    "r": 180,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 98.25,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87331,
    "c": 0.11833,
    "h": 134.7
  },
  "luminance": 0.69089
}

Semantic roles & 50–950 ramp

primary
#B4E797
secondary
#9E61C1
accent
#1BCA8B
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131611
muted
#838581

Preview Lab

Preview with #B4E797

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

Preview Lab → · Contrast checker → · Palette generator →

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