#96B531#96B531

#96B531 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.157 H 122.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#96B531
RGBrgb(150, 181, 49)
HSLhsl(74, 57%, 45%)
HSVhsv(74, 73%, 71%)
CMYKcmyk(17.1%, 0%, 72.9%, 29%)
CIE-LABlab(69.29, -28.52, 59.89)
CIE-LCHlch(69.29, 66.33, 115.46°)
OKLaboklab(72.56% -0.0836 0.1333)
OKLCHoklch(72.56% 0.157 122.1)
XYZxyz(29.6564, 39.7535, 9.0160)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B531 #5031B5
analogous
#B59231 #96B531 #54B531
triadic
#96B531 #3196B5 #B53196
tetradic
#96B531 #31B592 #5031B5 #B53154
square
#96B531 #31B592 #5031B5 #B53154
split-complementary
#96B531 #3154B5 #9231B5
monochromatic
#465517 #6E8524 #96B531 #B3D053 #C8DD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B531#FFFFFF#000000##000000
##96B5311.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)
#C0AA18
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#9EAC9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #96b531;
/* rgb */ color: rgb(150, 181, 49);
/* oklch */ color: oklch(72.6% 0.157 122.1);
Tailwind
colors: {
  custom: {
    50: '#b8cb72',
    500: '#96b531',
    950: '#000000',
  },
}
SCSS
$custom: #96b531;
$custom-light: #b8cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#96b531",
  "rgb": {
    "r": 150,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 74.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72557,
    "c": 0.15734,
    "h": 122.1
  },
  "luminance": 0.39754
}

Semantic roles & 50–950 ramp

primary
#96B531
secondary
#8D7BC7
accent
#47E16B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B531

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

Preview Lab → · Contrast checker → · Palette generator →

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