#96AF2C#96AF2C

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

Color values

HEX#96AF2C
RGBrgb(150, 175, 44)
HSLhsl(71, 60%, 43%)
HSVhsv(71, 75%, 69%)
CMYKcmyk(14.3%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.52, -25.88, 59.91)
CIE-LCHlch(67.52, 65.26, 113.36°)
OKLaboklab(71.12% -0.0767 0.1325)
OKLCHoklch(71.12% 0.153 120.1)
XYZxyz(28.3628, 37.3259, 8.0928)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2C #452CAF
analogous
#AF862C #96AF2C #55AF2C
triadic
#96AF2C #2C96AF #AF2C96
tetradic
#96AF2C #2CAF86 #452CAF #AF2C55
square
#96AF2C #2CAF86 #452CAF #AF2C55
split-complementary
#96AF2C #2C55AF #862CAF
monochromatic
#424D13 #6C7E20 #96AF2C #B7D147 #CADD78

Accessibility & contrast

On white

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

On black

8.47
#96AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF2C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF2C#FFFFFF#000000##000000
##96AF2C1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50F
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#9FA696
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2c;
/* rgb */ color: rgb(150, 175, 44);
/* oklch */ color: oklch(71.1% 0.153 120.1);
Tailwind
colors: {
  custom: {
    50: '#b8c66f',
    500: '#96af2c',
    950: '#000000',
  },
}
SCSS
$custom: #96af2c;
$custom-light: #b8c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2c",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 71.45,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.15314,
    "h": 120.1
  },
  "luminance": 0.37326
}

Semantic roles & 50–950 ramp

primary
#96AF2C
secondary
#8272C5
accent
#45E363
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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