#96AC31#96AC31

#96AC31 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.5% C 0.147 H 119.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#96AC31
RGBrgb(150, 172, 49)
HSLhsl(71, 56%, 43%)
HSVhsv(71, 72%, 67%)
CMYKcmyk(12.8%, 0%, 71.5%, 32.5%)
CIE-LABlab(66.68, -24.15, 57.33)
CIE-LCHlch(66.68, 62.20, 112.84°)
OKLaboklab(70.45% -0.0715 0.1279)
OKLCHoklch(70.45% 0.147 119.2)
XYZxyz(27.8851, 36.2110, 8.4255)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AC31 #4731AC
analogous
#AC8431 #96AC31 #58AC31
triadic
#96AC31 #3196AC #AC3196
tetradic
#96AC31 #31AC84 #4731AC #AC3158
square
#96AC31 #31AC84 #4731AC #AC3158
split-complementary
#96AC31 #3158AC #8431AC
monochromatic
#434D16 #6C7C23 #96AC31 #B6CC4E #C9DA7D

Accessibility & contrast

On white

2.55
#96AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#96AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AC31
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AC31#FFFFFF#000000##000000
##96AC311.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#9FA394
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #96ac31;
/* rgb */ color: rgb(150, 172, 49);
/* oklch */ color: oklch(70.5% 0.147 119.2);
Tailwind
colors: {
  custom: {
    50: '#b8c471',
    500: '#96ac31',
    950: '#000000',
  },
}
SCSS
$custom: #96ac31;
$custom-light: #b8c471;
$custom-dark: #000000;
JSON
{
  "hex": "#96ac31",
  "rgb": {
    "r": 150,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 70.732,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7045,
    "c": 0.14656,
    "h": 119.2
  },
  "luminance": 0.36211
}

Semantic roles & 50–950 ramp

primary
#96AC31
secondary
#8476C3
accent
#49DF64
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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