#96B42F#96B42F

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

Color values

HEX#96B42F
RGBrgb(150, 180, 47)
HSLhsl(74, 59%, 45%)
HSVhsv(74, 74%, 71%)
CMYKcmyk(16.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(68.99, -28.14, 60.29)
CIE-LCHlch(68.99, 66.54, 115.02°)
OKLaboklab(72.31% -0.0827 0.1338)
OKLCHoklch(72.31% 0.157 121.7)
XYZxyz(29.4125, 39.3318, 8.7311)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B42F #4D2FB4
analogous
#B4902F #96B42F #54B42F
triadic
#96B42F #2F96B4 #B42F96
tetradic
#96B42F #2FB490 #4D2FB4 #B42F54
square
#96B42F #2FB490 #4D2FB4 #B42F54
split-complementary
#96B42F #2F54B4 #902FB4
monochromatic
#455316 #6E8322 #96B42F #B4D14F #C9DE80

Accessibility & contrast

On white

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

On black

8.87
#96B42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B42F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B42F#FFFFFF#000000##000000
##96B42F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA914
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#9EAB9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b42f;
/* rgb */ color: rgb(150, 180, 47);
/* oklch */ color: oklch(72.3% 0.157 121.7);
Tailwind
colors: {
  custom: {
    50: '#b8ca71',
    500: '#96b42f',
    950: '#000000',
  },
}
SCSS
$custom: #96b42f;
$custom-light: #b8ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#96b42f",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 73.534,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.15732,
    "h": 121.7
  },
  "luminance": 0.39332
}

Semantic roles & 50–950 ramp

primary
#96B42F
secondary
#8A78C7
accent
#46E269
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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