#96B22B#96B22B

#96B22B is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.8% C 0.157 H 121.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#96B22B
RGBrgb(150, 178, 43)
HSLhsl(72, 61%, 43%)
HSVhsv(72, 76%, 70%)
CMYKcmyk(15.7%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.39, -27.38, 61.06)
CIE-LCHlch(68.39, 66.92, 114.15°)
OKLaboklab(71.81% -0.081 0.1348)
OKLCHoklch(71.81% 0.157 121)
XYZxyz(28.9346, 38.4993, 8.1918)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B22B #472BB2
analogous
#B28A2B #96B22B #53B22B
triadic
#96B22B #2B96B2 #B22B96
tetradic
#96B22B #2BB28A #472BB2 #B22B53
square
#96B22B #2BB28A #472BB2 #B22B53
split-complementary
#96B22B #2B53B2 #8A2BB2
monochromatic
#434F13 #6C811F #96B22B #B6D348 #C9DF79

Accessibility & contrast

On white

2.41
#96B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#96B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B22B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B22B#FFFFFF#000000##000000
##96B22B1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA709
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#9FA899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b22b;
/* rgb */ color: rgb(150, 178, 43);
/* oklch */ color: oklch(71.8% 0.157 121.0);
Tailwind
colors: {
  custom: {
    50: '#b8c96f',
    500: '#96b22b',
    950: '#000000',
  },
}
SCSS
$custom: #96b22b;
$custom-light: #b8c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#96b22b",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 72.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71814,
    "c": 0.15723,
    "h": 121
  },
  "luminance": 0.38499
}

Semantic roles & 50–950 ramp

primary
#96B22B
secondary
#8472C7
accent
#44E465
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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