#96AF2F#96AF2F

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

Color values

HEX#96AF2F
RGBrgb(150, 175, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 73%, 69%)
CMYKcmyk(14.3%, 0%, 73.1%, 31.4%)
CIE-LABlab(67.54, -25.73, 58.89)
CIE-LCHlch(67.54, 64.26, 113.60°)
OKLaboklab(71.14% -0.0761 0.1309)
OKLCHoklch(71.14% 0.151 120.2)
XYZxyz(28.4213, 37.3493, 8.4006)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2F #482FAF
analogous
#AF882F #96AF2F #56AF2F
triadic
#96AF2F #2F96AF #AF2F96
tetradic
#96AF2F #2FAF88 #482FAF #AF2F56
square
#96AF2F #2FAF88 #482FAF #AF2F56
split-complementary
#96AF2F #2F56AF #882FAF
monochromatic
#434F15 #6D7F22 #96AF2F #B5CF4C #C9DC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AF2F#FFFFFF#000000##000000
##96AF2F1.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)
#BAA516
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#9FA696
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2f;
/* rgb */ color: rgb(150, 175, 47);
/* oklch */ color: oklch(71.1% 0.151 120.2);
Tailwind
colors: {
  custom: {
    50: '#b8c671',
    500: '#96af2f',
    950: '#000000',
  },
}
SCSS
$custom: #96af2f;
$custom-light: #b8c671;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2f",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 71.719,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71137,
    "c": 0.15137,
    "h": 120.2
  },
  "luminance": 0.37349
}

Semantic roles & 50–950 ramp

primary
#96AF2F
secondary
#8575C4
accent
#47E165
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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