#96B41C#96B41C

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

Color values

HEX#96B41C
RGBrgb(150, 180, 28)
HSLhsl(72, 73%, 41%)
HSVhsv(72, 84%, 71%)
CMYKcmyk(16.7%, 0%, 84.4%, 29.4%)
CIE-LABlab(68.90, -28.93, 65.76)
CIE-LCHlch(68.90, 71.84, 113.75°)
OKLaboklab(72.21% -0.0862 0.1423)
OKLCHoklch(72.21% 0.166 121.2)
XYZxyz(29.1091, 39.2104, 7.1332)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B41C #3A1CB4
analogous
#B4861C #96B41C #4AB41C
triadic
#96B41C #1C96B4 #B41C96
tetradic
#96B41C #1CB486 #3A1CB4 #B41C4A
square
#96B41C #1CB486 #3A1CB4 #B41C4A
split-complementary
#96B41C #1C4AB4 #861CB4
monochromatic
#3E4A0C #6A7F14 #96B41C #BCDF2F #CDE764

Accessibility & contrast

On white

2.38
#96B41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B41C#FFFFFF#000000##000000
##96B41C1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA82E
Tritanopia (blue-blind)
#9FAA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b41c;
/* rgb */ color: rgb(150, 180, 28);
/* oklch */ color: oklch(72.2% 0.166 121.2);
Tailwind
colors: {
  custom: {
    50: '#b9ca69',
    500: '#96b41c',
    950: '#000000',
  },
}
SCSS
$custom: #96b41c;
$custom-light: #b9ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#96b41c",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 71.842,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.7221,
    "c": 0.16638,
    "h": 121.2
  },
  "luminance": 0.3921
}

Semantic roles & 50–950 ramp

primary
#96B41C
secondary
#7560CC
accent
#38F05C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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