#96AF22#96AF22

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

Color values

HEX#96AF22
RGBrgb(150, 175, 34)
HSLhsl(71, 67%, 41%)
HSVhsv(71, 81%, 69%)
CMYKcmyk(14.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(67.47, -26.32, 62.97)
CIE-LCHlch(67.47, 68.25, 112.68°)
OKLaboklab(71.06% -0.0787 0.1373)
OKLCHoklch(71.06% 0.158 119.8)
XYZxyz(28.1970, 37.2596, 7.2194)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF22 #3B22AF
analogous
#AF8122 #96AF22 #4FAF22
triadic
#96AF22 #2296AF #AF2296
tetradic
#96AF22 #22AF81 #3B22AF #AF224F
square
#96AF22 #22AF81 #3B22AF #AF224F
split-complementary
#96AF22 #224FAF #8122AF
monochromatic
#3E490E #6A7C18 #96AF22 #BBD836 #CDE269

Accessibility & contrast

On white

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

On black

8.45
#96AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF22
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF22#FFFFFF#000000##000000
##96AF221.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#9FA595
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af22;
/* rgb */ color: rgb(150, 175, 34);
/* oklch */ color: oklch(71.1% 0.158 119.8);
Tailwind
colors: {
  custom: {
    50: '#b9c66b',
    500: '#96af22',
    950: '#000000',
  },
}
SCSS
$custom: #96af22;
$custom-light: #b9c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#96af22",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 70.638,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71062,
    "c": 0.15826,
    "h": 119.8
  },
  "luminance": 0.37259
}

Semantic roles & 50–950 ramp

primary
#96AF22
secondary
#7765C8
accent
#3DEA5C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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