#96B42D#96B42D

#96B42D is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.3% C 0.158 H 121.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#96B42D
RGBrgb(150, 180, 45)
HSLhsl(73, 60%, 44%)
HSVhsv(73, 75%, 71%)
CMYKcmyk(16.7%, 0%, 75%, 29.4%)
CIE-LABlab(68.98, -28.25, 60.96)
CIE-LCHlch(68.98, 67.19, 114.86°)
OKLaboklab(72.3% -0.0832 0.1349)
OKLCHoklch(72.3% 0.158 121.7)
XYZxyz(29.3731, 39.3160, 8.5234)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B42D #4B2DB4
analogous
#B48F2D #96B42D #53B42D
triadic
#96B42D #2D96B4 #B42D96
tetradic
#96B42D #2DB48F #4B2DB4 #B42D53
square
#96B42D #2DB48F #4B2DB4 #B42D53
split-complementary
#96B42D #2D53B4 #8F2DB4
monochromatic
#445215 #6D8321 #96B42D #B4D24C #C9DE7D

Accessibility & contrast

On white

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

On black

8.86
#96B42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B42D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B42D#FFFFFF#000000##000000
##96B42D1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90E
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#9EAB9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b42d;
/* rgb */ color: rgb(150, 180, 45);
/* oklch */ color: oklch(72.3% 0.158 121.7);
Tailwind
colors: {
  custom: {
    50: '#b8ca70',
    500: '#96b42d',
    950: '#000000',
  },
}
SCSS
$custom: #96b42d;
$custom-light: #b8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#96b42d",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 73.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72296,
    "c": 0.15848,
    "h": 121.7
  },
  "luminance": 0.39316
}

Semantic roles & 50–950 ramp

primary
#96B42D
secondary
#8876C7
accent
#45E368
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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