#96B316#96B316

#96B316 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#96B316
RGBrgb(150, 179, 22)
HSLhsl(71, 78%, 39%)
HSVhsv(71, 88%, 70%)
CMYKcmyk(16.2%, 0%, 87.7%, 29.8%)
CIE-LABlab(68.59, -28.63, 66.79)
CIE-LCHlch(68.59, 72.67, 113.20°)
OKLaboklab(71.95% -0.0857 0.1436)
OKLCHoklch(71.95% 0.167 120.8)
XYZxyz(28.8432, 38.7822, 6.7251)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B316 #3316B3
analogous
#B38216 #96B316 #48B316
triadic
#96B316 #1696B3 #B31696
tetradic
#96B316 #16B382 #3316B3 #B31648
square
#96B316 #16B382 #3316B3 #B31648
split-complementary
#96B316 #1648B3 #8216B3
monochromatic
#3B4609 #687C0F #96B316 #C0E422 #D0EB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B316#FFFFFF#000000##000000
##96B3161.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)
#BBA72A
Tritanopia (blue-blind)
#9FA998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b316;
/* rgb */ color: rgb(150, 179, 22);
/* oklch */ color: oklch(72.0% 0.167 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c967',
    500: '#96b316',
    950: '#000000',
  },
}
SCSS
$custom: #96b316;
$custom-light: #b9c967;
$custom-dark: #000000;
JSON
{
  "hex": "#96b316",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 71.083,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.16726,
    "h": 120.8
  },
  "luminance": 0.38782
}

Semantic roles & 50–950 ramp

primary
#96B316
secondary
#6D57CE
accent
#33F557
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #96B316

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

Preview Lab → · Contrast checker → · Palette generator →

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