#B4E796#B4E796

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

Color values

HEX#B4E796
RGBrgb(180, 231, 150)
HSLhsl(98, 63%, 75%)
HSVhsv(98, 35%, 91%)
CMYKcmyk(22.1%, 0%, 35.1%, 9.4%)
CIE-LABlab(86.53, -30.66, 34.27)
CIE-LCHlch(86.53, 45.98, 131.81°)
OKLaboklab(87.31% -0.0837 0.0852)
OKLCHoklch(87.31% 0.119 134.5)
XYZxyz(52.9021, 69.0559, 39.3902)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E796 #C996E7
analogous
#DDE796 #B4E796 #96E7A1
triadic
#B4E796 #96B4E7 #E796B4
tetradic
#B4E796 #96DDE7 #C996E7 #E7A196
square
#B4E796 #96DDE7 #C996E7 #E7A196
split-complementary
#B4E796 #A196E7 #E796DD
monochromatic
#6DD032 #90DC64 #B4E796 #D8F2C8 #EDF9E6

Accessibility & contrast

On white

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

On black

14.81
#B4E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E796
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E796#FFFFFF#000000##000000
##B4E7961.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB90
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#B4E1D2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b4e796;
/* rgb */ color: rgb(180, 231, 150);
/* oklch */ color: oklch(87.3% 0.119 134.5);
Tailwind
colors: {
  custom: {
    50: '#cbeeb5',
    500: '#b4e796',
    950: '#000000',
  },
}
SCSS
$custom: #b4e796;
$custom-light: #cbeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e796",
  "rgb": {
    "r": 180,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 97.778,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87313,
    "c": 0.11941,
    "h": 134.5
  },
  "luminance": 0.69057
}

Semantic roles & 50–950 ramp

primary
#B4E796
secondary
#9D60C1
accent
#1BCB8A
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131611
muted
#838581

Preview Lab

Preview with #B4E796

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

Preview Lab → · Contrast checker → · Palette generator →

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