#96B331#96B331

#96B331 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.155 H 121.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#96B331
RGBrgb(150, 179, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 73%, 70%)
CMYKcmyk(16.2%, 0%, 72.6%, 29.8%)
CIE-LABlab(68.71, -27.56, 59.32)
CIE-LCHlch(68.71, 65.41, 114.92°)
OKLaboklab(72.09% -0.0809 0.1321)
OKLCHoklch(72.09% 0.155 121.5)
XYZxyz(29.2526, 38.9460, 8.8814)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B331 #4E31B3
analogous
#B38F31 #96B331 #55B331
triadic
#96B331 #3196B3 #B33196
tetradic
#96B331 #31B38F #4E31B3 #B33155
square
#96B331 #31B38F #4E31B3 #B33155
split-complementary
#96B331 #3155B3 #8F31B3
monochromatic
#455317 #6E8324 #96B331 #B3D052 #C8DD82

Accessibility & contrast

On white

2.39
#96B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#96B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B331
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B331#FFFFFF#000000##000000
##96B3311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BAA83C
Tritanopia (blue-blind)
#9EAA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b331;
/* rgb */ color: rgb(150, 179, 49);
/* oklch */ color: oklch(72.1% 0.155 121.5);
Tailwind
colors: {
  custom: {
    50: '#b8c972',
    500: '#96b331',
    950: '#000000',
  },
}
SCSS
$custom: #96b331;
$custom-light: #b8c972;
$custom-dark: #000000;
JSON
{
  "hex": "#96b331",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 73.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72087,
    "c": 0.15493,
    "h": 121.5
  },
  "luminance": 0.38946
}

Semantic roles & 50–950 ramp

primary
#96B331
secondary
#8B7AC6
accent
#48E06A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B331

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

Preview Lab → · Contrast checker → · Palette generator →

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