#96B421#96B421

#96B421 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.2% C 0.164 H 121.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#96B421
RGBrgb(150, 180, 33)
HSLhsl(72, 69%, 42%)
HSVhsv(72, 82%, 71%)
CMYKcmyk(16.7%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.92, -28.76, 64.52)
CIE-LCHlch(68.92, 70.65, 114.03°)
OKLaboklab(72.23% -0.0855 0.1404)
OKLCHoklch(72.23% 0.164 121.3)
XYZxyz(29.1740, 39.2364, 7.4750)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B421 #3F21B4
analogous
#B48921 #96B421 #4DB421
triadic
#96B421 #2196B4 #B42196
tetradic
#96B421 #21B489 #3F21B4 #B4214D
square
#96B421 #21B489 #3F21B4 #B4214D
split-complementary
#96B421 #214DB4 #8921B4
monochromatic
#404D0E #6B8018 #96B421 #B9DA38 #CBE46B

Accessibility & contrast

On white

2.37
#96B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#96B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B421
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B421#FFFFFF#000000##000000
##96B4211.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#9FAA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b421;
/* rgb */ color: rgb(150, 180, 33);
/* oklch */ color: oklch(72.2% 0.164 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9ca6b',
    500: '#96b421',
    950: '#000000',
  },
}
SCSS
$custom: #96b421;
$custom-light: #b9ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96b421",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 72.245,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72231,
    "c": 0.16441,
    "h": 121.3
  },
  "luminance": 0.39236
}

Semantic roles & 50–950 ramp

primary
#96B421
secondary
#7B67CA
accent
#3CEC60
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B421

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

Preview Lab → · Contrast checker → · Palette generator →

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