#96B315#96B315

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

Color values

HEX#96B315
RGBrgb(150, 179, 21)
HSLhsl(71, 79%, 39%)
HSVhsv(71, 88%, 70%)
CMYKcmyk(16.2%, 0%, 88.3%, 29.8%)
CIE-LABlab(68.59, -28.65, 66.98)
CIE-LCHlch(68.59, 72.85, 113.16°)
OKLaboklab(71.95% -0.0858 0.1439)
OKLCHoklch(71.95% 0.168 120.8)
XYZxyz(28.8337, 38.7784, 6.6753)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B315 #3215B3
analogous
#B38115 #96B315 #47B315
triadic
#96B315 #1596B3 #B31596
tetradic
#96B315 #15B381 #3215B3 #B31547
square
#96B315 #15B381 #3215B3 #B31547
split-complementary
#96B315 #1547B3 #8115B3
monochromatic
#3A4508 #687C0F #96B315 #C1E520 #D0EB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B315#FFFFFF#000000##000000
##96B3151.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: #96b315;
/* rgb */ color: rgb(150, 179, 21);
/* oklch */ color: oklch(72.0% 0.168 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c967',
    500: '#96b315',
    950: '#000000',
  },
}
SCSS
$custom: #96b315;
$custom-light: #b9c967;
$custom-dark: #000000;
JSON
{
  "hex": "#96b315",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 71.013,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.16755,
    "h": 120.8
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#96B315
secondary
#6C56CE
accent
#32F556
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #96B315

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

Preview Lab → · Contrast checker → · Palette generator →

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