#96AF2A#96AF2A

#96AF2A 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#96AF2A
RGBrgb(150, 175, 42)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 76%, 69%)
CMYKcmyk(14.3%, 0%, 76%, 31.4%)
CIE-LABlab(67.51, -25.98, 60.57)
CIE-LCHlch(67.51, 65.90, 113.21°)
OKLaboklab(71.1% -0.0772 0.1336)
OKLCHoklch(71.1% 0.154 120)
XYZxyz(28.3261, 37.3113, 7.8996)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2A #432AAF
analogous
#AF852A #96AF2A #54AF2A
triadic
#96AF2A #2A96AF #AF2A96
tetradic
#96AF2A #2AAF85 #432AAF #AF2A54
square
#96AF2A #2AAF85 #432AAF #AF2A54
split-complementary
#96AF2A #2A54AF #852AAF
monochromatic
#414C12 #6C7E1E #96AF2A #B7D244 #CADE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AF2A#FFFFFF#000000##000000
##96AF2A1.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)
#BAA508
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#9FA596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2a;
/* rgb */ color: rgb(150, 175, 42);
/* oklch */ color: oklch(71.1% 0.154 120.0);
Tailwind
colors: {
  custom: {
    50: '#b8c66e',
    500: '#96af2a',
    950: '#000000',
  },
}
SCSS
$custom: #96af2a;
$custom-light: #b8c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2a",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 71.278,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.15427,
    "h": 120
  },
  "luminance": 0.37311
}

Semantic roles & 50–950 ramp

primary
#96AF2A
secondary
#7F6FC6
accent
#43E462
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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