#96B417#96B417

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

Color values

HEX#96B417
RGBrgb(150, 180, 23)
HSLhsl(71, 77%, 40%)
HSVhsv(71, 87%, 71%)
CMYKcmyk(16.7%, 0%, 87.2%, 29.4%)
CIE-LABlab(68.89, -29.08, 66.84)
CIE-LCHlch(68.89, 72.89, 113.51°)
OKLaboklab(72.19% -0.0869 0.1439)
OKLCHoklch(72.19% 0.168 121.1)
XYZxyz(29.0542, 39.1884, 6.8439)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B417 #3517B4
analogous
#B48417 #96B417 #48B417
triadic
#96B417 #1796B4 #B41796
tetradic
#96B417 #17B484 #3517B4 #B41748
square
#96B417 #17B484 #3517B4 #B41748
split-complementary
#96B417 #1748B4 #8417B4
monochromatic
#3C4709 #697E10 #96B417 #BFE325 #CFEA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B417#FFFFFF#000000##000000
##96B4171.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)
#BCA82B
Tritanopia (blue-blind)
#9FAA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b417;
/* rgb */ color: rgb(150, 180, 23);
/* oklch */ color: oklch(72.2% 0.168 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9ca68',
    500: '#96b417',
    950: '#000000',
  },
}
SCSS
$custom: #96b417;
$custom-light: #b9ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#96b417",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 71.465,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.16807,
    "h": 121.1
  },
  "luminance": 0.39188
}

Semantic roles & 50–950 ramp

primary
#96B417
secondary
#6F59CE
accent
#34F459
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #96B417

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

Preview Lab → · Contrast checker → · Palette generator →

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