#96B52F#96B52F

#96B52F is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.5% C 0.159 H 122.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#96B52F
RGBrgb(150, 181, 47)
HSLhsl(74, 59%, 45%)
HSVhsv(74, 74%, 71%)
CMYKcmyk(17.1%, 0%, 74%, 29%)
CIE-LABlab(69.28, -28.62, 60.57)
CIE-LCHlch(69.28, 66.99, 115.29°)
OKLaboklab(72.54% -0.084 0.1344)
OKLCHoklch(72.54% 0.159 122)
XYZxyz(29.6151, 39.7370, 8.7986)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B52F #4E2FB5
analogous
#B5912F #96B52F #53B52F
triadic
#96B52F #2F96B5 #B52F96
tetradic
#96B52F #2FB591 #4E2FB5 #B52F53
square
#96B52F #2FB591 #4E2FB5 #B52F53
split-complementary
#96B52F #2F53B5 #912FB5
monochromatic
#455416 #6E8422 #96B52F #B3D150 #C8DE80

Accessibility & contrast

On white

2.35
#96B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#96B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B52F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B52F#FFFFFF#000000##000000
##96B52F1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#9EAC9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #96b52f;
/* rgb */ color: rgb(150, 181, 47);
/* oklch */ color: oklch(72.5% 0.159 122.0);
Tailwind
colors: {
  custom: {
    50: '#b8cb71',
    500: '#96b52f',
    950: '#000000',
  },
}
SCSS
$custom: #96b52f;
$custom-light: #b8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#96b52f",
  "rgb": {
    "r": 150,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 73.881,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72543,
    "c": 0.15852,
    "h": 122
  },
  "luminance": 0.39737
}

Semantic roles & 50–950 ramp

primary
#96B52F
secondary
#8B79C7
accent
#46E26A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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