#96AF2B#96AF2B

#96AF2B is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.1% C 0.154 H 120.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#96AF2B
RGBrgb(150, 175, 43)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 75%, 69%)
CMYKcmyk(14.3%, 0%, 75.4%, 31.4%)
CIE-LABlab(67.52, -25.93, 60.24)
CIE-LCHlch(67.52, 65.59, 113.29°)
OKLaboklab(71.11% -0.077 0.1331)
OKLCHoklch(71.11% 0.154 120)
XYZxyz(28.3442, 37.3185, 7.9950)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2B #442BAF
analogous
#AF862B #96AF2B #54AF2B
triadic
#96AF2B #2B96AF #AF2B96
tetradic
#96AF2B #2BAF86 #442BAF #AF2B54
square
#96AF2B #2BAF86 #442BAF #AF2B54
split-complementary
#96AF2B #2B54AF #862BAF
monochromatic
#424D13 #6C7E1F #96AF2B #B7D146 #CADE77

Accessibility & contrast

On white

2.48
#96AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#96AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF2B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF2B#FFFFFF#000000##000000
##96AF2B1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50C
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#9FA596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2b;
/* rgb */ color: rgb(150, 175, 43);
/* oklch */ color: oklch(71.1% 0.154 120.0);
Tailwind
colors: {
  custom: {
    50: '#b8c66f',
    500: '#96af2b',
    950: '#000000',
  },
}
SCSS
$custom: #96af2b;
$custom-light: #b8c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2b",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 71.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.1537,
    "h": 120
  },
  "luminance": 0.37318
}

Semantic roles & 50–950 ramp

primary
#96AF2B
secondary
#8170C5
accent
#44E462
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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