#B5E97A#B5E97A

#B5E97A is a very light, vivid yellow-green. Relative luminance 0.695; OKLCH L 87.4% C 0.151 H 129.7°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#B5E97A
RGBrgb(181, 233, 122)
HSLhsl(88, 72%, 70%)
HSVhsv(88, 48%, 91%)
CMYKcmyk(22.3%, 0%, 47.6%, 8.6%)
CIE-LABlab(86.75, -34.73, 48.33)
CIE-LCHlch(86.75, 59.52, 125.70°)
OKLaboklab(87.38% -0.0963 0.1161)
OKLCHoklch(87.38% 0.151 129.7)
XYZxyz(51.7073, 69.5057, 29.1003)
Luminance0.6951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5E97A #AE7AE9
analogous
#E9E67A #B5E97A #7EE97A
triadic
#B5E97A #7AB5E9 #E97AB5
tetradic
#B5E97A #7AE9E6 #AE7AE9 #E97A7E
square
#B5E97A #7AE9E6 #AE7AE9 #E97A7E
split-complementary
#B5E97A #7A7EE9 #E67AE9
monochromatic
#7AC821 #98E045 #B5E97A #D2F2AF #EFFAE3

Accessibility & contrast

On white

1.41
#B5E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#B5E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5E97A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5E97A#FFFFFF#000000##000000
##B5E97A1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC71
Deuteranopia (green-blind)
#EAD881
Tritanopia (blue-blind)
#B9E1CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b5e97a;
/* rgb */ color: rgb(181, 233, 122);
/* oklch */ color: oklch(87.4% 0.151 129.7);
Tailwind
colors: {
  custom: {
    50: '#cdf0a2',
    500: '#b5e97a',
    950: '#000000',
  },
}
SCSS
$custom: #b5e97a;
$custom-light: #cdf0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5e97a",
  "rgb": {
    "r": 181,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 88.108,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87379,
    "c": 0.15088,
    "h": 129.7
  },
  "luminance": 0.69507
}

Semantic roles & 50–950 ramp

primary
#B5E97A
secondary
#8046C1
accent
#12D46D
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14160F
muted
#838580

Preview Lab

Preview with #B5E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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