#96B951#96B951

#96B951 is a light, vivid yellow-green. Relative luminance 0.418; OKLCH L 73.8% C 0.138 H 125.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#96B951
RGBrgb(150, 185, 81)
HSLhsl(80, 43%, 52%)
HSVhsv(80, 56%, 73%)
CMYKcmyk(18.9%, 0%, 56.2%, 27.5%)
CIE-LABlab(70.72, -28.08, 48.11)
CIE-LCHlch(70.72, 55.70, 120.28°)
OKLaboklab(73.79% -0.0794 0.1127)
OKLCHoklch(73.79% 0.138 125.2)
XYZxyz(31.4119, 41.7757, 14.1916)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B951 #7451B9
analogous
#B9A851 #96B951 #62B951
triadic
#96B951 #5196B9 #B95196
tetradic
#96B951 #51B9A8 #7451B9 #B95162
square
#96B951 #51B9A8 #7451B9 #B95162
split-complementary
#96B951 #5162B9 #A851B9
monochromatic
#526629 #75923B #96B951 #B0CB7D #CBDCA8

Accessibility & contrast

On white

2.24
#96B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#96B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B951
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B951#FFFFFF#000000##000000
##96B9511.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE46
Deuteranopia (green-blind)
#BDAD58
Tritanopia (blue-blind)
#9CB1A2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #96b951;
/* rgb */ color: rgb(150, 185, 81);
/* oklch */ color: oklch(73.8% 0.138 125.2);
Tailwind
colors: {
  custom: {
    50: '#b7ce85',
    500: '#96b951',
    950: '#000000',
  },
}
SCSS
$custom: #96b951;
$custom-light: #b7ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#96b951",
  "rgb": {
    "r": 150,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 80.192,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.13786,
    "h": 125.2
  },
  "luminance": 0.41776
}

Semantic roles & 50–950 ramp

primary
#96B951
secondary
#AB9CCA
accent
#55D27F
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #96B951

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

Preview Lab → · Contrast checker → · Palette generator →

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