#96AF2D#96AF2D

#96AF2D 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#96AF2D
RGBrgb(150, 175, 45)
HSLhsl(72, 59%, 43%)
HSVhsv(72, 74%, 69%)
CMYKcmyk(14.3%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.53, -25.83, 59.58)
CIE-LCHlch(67.53, 64.93, 113.44°)
OKLaboklab(71.12% -0.0765 0.132)
OKLCHoklch(71.12% 0.153 120.1)
XYZxyz(28.3818, 37.3335, 8.1930)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2D #462DAF
analogous
#AF872D #96AF2D #55AF2D
triadic
#96AF2D #2D96AF #AF2D96
tetradic
#96AF2D #2DAF87 #462DAF #AF2D55
square
#96AF2D #2DAF87 #462DAF #AF2D55
split-complementary
#96AF2D #2D55AF #872DAF
monochromatic
#434E14 #6C7E20 #96AF2D #B6D049 #CADD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AF2D#FFFFFF#000000##000000
##96AF2D1.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)
#BAA511
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#9FA696
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2d;
/* rgb */ color: rgb(150, 175, 45);
/* oklch */ color: oklch(71.1% 0.153 120.1);
Tailwind
colors: {
  custom: {
    50: '#b8c670',
    500: '#96af2d',
    950: '#000000',
  },
}
SCSS
$custom: #96af2d;
$custom-light: #b8c670;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2d",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 71.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71124,
    "c": 0.15256,
    "h": 120.1
  },
  "luminance": 0.37333
}

Semantic roles & 50–950 ramp

primary
#96AF2D
secondary
#8373C5
accent
#46E264
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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