#96B22F#96B22F

#96B22F is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.8% C 0.155 H 121.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#96B22F
RGBrgb(150, 178, 47)
HSLhsl(73, 58%, 44%)
HSVhsv(73, 74%, 70%)
CMYKcmyk(15.7%, 0%, 73.6%, 30.2%)
CIE-LABlab(68.41, -27.18, 59.73)
CIE-LCHlch(68.41, 65.63, 114.47°)
OKLaboklab(71.84% -0.0801 0.1327)
OKLCHoklch(71.84% 0.155 121.1)
XYZxyz(29.0116, 38.5301, 8.5974)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B22F #4B2FB2
analogous
#B28D2F #96B22F #55B22F
triadic
#96B22F #2F96B2 #B22F96
tetradic
#96B22F #2FB28D #4B2FB2 #B22F55
square
#96B22F #2FB28D #4B2FB2 #B22F55
split-complementary
#96B22F #2F55B2 #8D2FB2
monochromatic
#445115 #6D8222 #96B22F #B4D04E #C9DD7E

Accessibility & contrast

On white

2.41
#96B22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#96B22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B22F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B22F#FFFFFF#000000##000000
##96B22F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#9EA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b22f;
/* rgb */ color: rgb(150, 178, 47);
/* oklch */ color: oklch(71.8% 0.155 121.1);
Tailwind
colors: {
  custom: {
    50: '#b8c971',
    500: '#96b22f',
    950: '#000000',
  },
}
SCSS
$custom: #96b22f;
$custom-light: #b8c971;
$custom-dark: #000000;
JSON
{
  "hex": "#96b22f",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 72.824,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71839,
    "c": 0.15494,
    "h": 121.1
  },
  "luminance": 0.3853
}

Semantic roles & 50–950 ramp

primary
#96B22F
secondary
#8877C6
accent
#46E168
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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