#96B31A#96B31A

#96B31A is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.166 H 120.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#96B31A
RGBrgb(150, 179, 26)
HSLhsl(71, 75%, 40%)
HSVhsv(71, 85%, 70%)
CMYKcmyk(16.2%, 0%, 85.5%, 29.8%)
CIE-LABlab(68.61, -28.52, 65.96)
CIE-LCHlch(68.61, 71.86, 113.38°)
OKLaboklab(71.97% -0.0852 0.1424)
OKLCHoklch(71.97% 0.166 120.9)
XYZxyz(28.8848, 38.7989, 6.9443)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B31A #371AB3
analogous
#B3841A #96B31A #49B31A
triadic
#96B31A #1A96B3 #B31A96
tetradic
#96B31A #1AB384 #371AB3 #B31A49
square
#96B31A #1AB384 #371AB3 #B31A49
split-complementary
#96B31A #1A49B3 #841AB3
monochromatic
#3C480A #697E12 #96B31A #BEE02A #CEE860

Accessibility & contrast

On white

2.40
#96B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#96B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B31A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B31A#FFFFFF#000000##000000
##96B31A1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA82D
Tritanopia (blue-blind)
#9FA998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b31a;
/* rgb */ color: rgb(150, 179, 26);
/* oklch */ color: oklch(72.0% 0.166 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c968',
    500: '#96b31a',
    950: '#000000',
  },
}
SCSS
$custom: #96b31a;
$custom-light: #b9c968;
$custom-dark: #000000;
JSON
{
  "hex": "#96b31a",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 71.373,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.16597,
    "h": 120.9
  },
  "luminance": 0.38799
}

Semantic roles & 50–950 ramp

primary
#96B31A
secondary
#725DCC
accent
#37F15A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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