#96B31C#96B31C

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

Color values

HEX#96B31C
RGBrgb(150, 179, 28)
HSLhsl(72, 73%, 41%)
HSVhsv(72, 84%, 70%)
CMYKcmyk(16.2%, 0%, 84.4%, 29.8%)
CIE-LABlab(68.61, -28.46, 65.51)
CIE-LCHlch(68.61, 71.42, 113.48°)
OKLaboklab(71.97% -0.0849 0.1417)
OKLCHoklch(71.97% 0.165 120.9)
XYZxyz(28.9079, 38.8081, 7.0662)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B31C #391CB3
analogous
#B3841C #96B31C #4AB31C
triadic
#96B31C #1C96B3 #B31C96
tetradic
#96B31C #1CB384 #391CB3 #B31C4A
square
#96B31C #1CB384 #391CB3 #B31C4A
split-complementary
#96B31C #1C4AB3 #841CB3
monochromatic
#3D490B #6A7E14 #96B31C #BCDE2E #CDE763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B31C#FFFFFF#000000##000000
##96B31C1.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)
#BBA82E
Tritanopia (blue-blind)
#9FA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b31c;
/* rgb */ color: rgb(150, 179, 28);
/* oklch */ color: oklch(72.0% 0.165 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c969',
    500: '#96b31c',
    950: '#000000',
  },
}
SCSS
$custom: #96b31c;
$custom-light: #b9c969;
$custom-dark: #000000;
JSON
{
  "hex": "#96b31c",
  "rgb": {
    "r": 150,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 71.523,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71975,
    "c": 0.16526,
    "h": 120.9
  },
  "luminance": 0.38808
}

Semantic roles & 50–950 ramp

primary
#96B31C
secondary
#745FCB
accent
#38F05B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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