#96B41F#96B41F

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

Color values

HEX#96B41F
RGBrgb(150, 180, 31)
HSLhsl(72, 71%, 41%)
HSVhsv(72, 83%, 71%)
CMYKcmyk(16.7%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.91, -28.84, 65.04)
CIE-LCHlch(68.91, 71.14, 113.91°)
OKLaboklab(72.22% -0.0858 0.1412)
OKLCHoklch(72.22% 0.165 121.3)
XYZxyz(29.1468, 39.2255, 7.3318)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B41F #3D1FB4
analogous
#B4881F #96B41F #4BB41F
triadic
#96B41F #1F96B4 #B41F96
tetradic
#96B41F #1FB488 #3D1FB4 #B41F4B
square
#96B41F #1FB488 #3D1FB4 #B41F4B
split-complementary
#96B41F #1F4BB4 #881FB4
monochromatic
#3F4C0D #6A8016 #96B41F #BADC34 #CCE568

Accessibility & contrast

On white

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

On black

8.84
#96B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B41F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B41F#FFFFFF#000000##000000
##96B41F1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96b41f;
/* rgb */ color: rgb(150, 180, 31);
/* oklch */ color: oklch(72.2% 0.165 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9ca6a',
    500: '#96b41f',
    950: '#000000',
  },
}
SCSS
$custom: #96b41f;
$custom-light: #b9ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#96b41f",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 72.081,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72222,
    "c": 0.16523,
    "h": 121.3
  },
  "luminance": 0.39225
}

Semantic roles & 50–950 ramp

primary
#96B41F
secondary
#7964CB
accent
#3AED5E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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