#96B317#96B317

#96B317 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.167 H 120.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#96B317
RGBrgb(150, 179, 23)
HSLhsl(71, 77%, 40%)
HSVhsv(71, 87%, 70%)
CMYKcmyk(16.2%, 0%, 87.2%, 29.8%)
CIE-LABlab(68.60, -28.60, 66.60)
CIE-LCHlch(68.60, 72.48, 113.24°)
OKLaboklab(71.96% -0.0856 0.1433)
OKLCHoklch(71.96% 0.167 120.8)
XYZxyz(28.8530, 38.7861, 6.7769)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B317 #3417B3
analogous
#B38217 #96B317 #48B317
triadic
#96B317 #1796B3 #B31796
tetradic
#96B317 #17B382 #3417B3 #B31748
square
#96B317 #17B382 #3417B3 #B31748
split-complementary
#96B317 #1748B3 #8217B3
monochromatic
#3B4709 #697D10 #96B317 #BFE324 #CFEA5B

Accessibility & contrast

On white

2.40
#96B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#96B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B317
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B317#FFFFFF#000000##000000
##96B3171.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA72B
Tritanopia (blue-blind)
#9FA998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b317;
/* rgb */ color: rgb(150, 179, 23);
/* oklch */ color: oklch(72.0% 0.167 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c968',
    500: '#96b317',
    950: '#000000',
  },
}
SCSS
$custom: #96b317;
$custom-light: #b9c968;
$custom-dark: #000000;
JSON
{
  "hex": "#96b317",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 71.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.16695,
    "h": 120.8
  },
  "luminance": 0.38786
}

Semantic roles & 50–950 ramp

primary
#96B317
secondary
#6E58CD
accent
#34F458
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #96B317

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

Preview Lab → · Contrast checker → · Palette generator →

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