#96B151#96B151

#96B151 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.127 H 122.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#96B151
RGBrgb(150, 177, 81)
HSLhsl(77, 38%, 51%)
HSVhsv(77, 54%, 69%)
CMYKcmyk(15.3%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.40, -24.19, 45.43)
CIE-LCHlch(68.40, 51.47, 118.04°)
OKLaboklab(71.93% -0.0686 0.1069)
OKLCHoklch(71.93% 0.127 122.7)
XYZxyz(29.7852, 38.5223, 13.6494)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B151 #6C51B1
analogous
#B19C51 #96B151 #66B151
triadic
#96B151 #5196B1 #B15196
tetradic
#96B151 #51B19C #6C51B1 #B15166
square
#96B151 #51B19C #6C51B1 #B15166
split-complementary
#96B151 #5166B1 #9C51B1
monochromatic
#4F5E2A #73883D #96B151 #AFC47B #C9D7A6

Accessibility & contrast

On white

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

On black

8.70
#96B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B151
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B151#FFFFFF#000000##000000
##96B1511.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#9CA99C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b151;
/* rgb */ color: rgb(150, 177, 81);
/* oklch */ color: oklch(71.9% 0.127 122.7);
Tailwind
colors: {
  custom: {
    50: '#b7c885',
    500: '#96b151',
    950: '#000000',
  },
}
SCSS
$custom: #96b151;
$custom-light: #b7c885;
$custom-dark: #000000;
JSON
{
  "hex": "#96b151",
  "rgb": {
    "r": 150,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 76.875,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71926,
    "c": 0.12699,
    "h": 122.7
  },
  "luminance": 0.38522
}

Semantic roles & 50–950 ramp

primary
#96B151
secondary
#A69AC4
accent
#5ACE7A
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #96B151

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

Preview Lab → · Contrast checker → · Palette generator →

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