#96B157#96B157

#96B157 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.121 H 123.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#96B157
RGBrgb(150, 177, 87)
HSLhsl(78, 37%, 52%)
HSVhsv(78, 51%, 69%)
CMYKcmyk(15.3%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.47, -23.60, 42.61)
CIE-LCHlch(68.47, 48.71, 118.98°)
OKLaboklab(72% -0.0664 0.1013)
OKLCHoklch(72% 0.121 123.2)
XYZxyz(30.0202, 38.6163, 14.8871)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B157 #7257B1
analogous
#B19F57 #96B157 #69B157
triadic
#96B157 #5796B1 #B15796
tetradic
#96B157 #57B19F #7257B1 #B15769
square
#96B157 #57B19F #7257B1 #B15769
split-complementary
#96B157 #5769B1 #9F57B1
monochromatic
#51612D #748A40 #96B157 #B0C481 #CAD8AB

Accessibility & contrast

On white

2.41
#96B157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#96B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B157
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B157#FFFFFF#000000##000000
##96B1571.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#B6A75C
Tritanopia (blue-blind)
#9CAA9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b157;
/* rgb */ color: rgb(150, 177, 87);
/* oklch */ color: oklch(72.0% 0.121 123.2);
Tailwind
colors: {
  custom: {
    50: '#b6c889',
    500: '#96b157',
    950: '#000000',
  },
}
SCSS
$custom: #96b157;
$custom-light: #b6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#96b157",
  "rgb": {
    "r": 150,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 78,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72003,
    "c": 0.12108,
    "h": 123.2
  },
  "luminance": 0.38616
}

Semantic roles & 50–950 ramp

primary
#96B157
secondary
#AA9EC6
accent
#5BCD7D
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #96B157

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

Preview Lab → · Contrast checker → · Palette generator →

#96B157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva