#96B223#96B223

#96B223 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.8% C 0.161 H 120.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#96B223
RGBrgb(150, 178, 35)
HSLhsl(72, 67%, 42%)
HSVhsv(72, 80%, 70%)
CMYKcmyk(15.7%, 0%, 80.3%, 30.2%)
CIE-LABlab(68.35, -27.73, 63.47)
CIE-LCHlch(68.35, 69.26, 113.60°)
OKLaboklab(71.77% -0.0825 0.1385)
OKLCHoklch(71.77% 0.161 120.8)
XYZxyz(28.8020, 38.4462, 7.4933)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B223 #3F23B2
analogous
#B28723 #96B223 #4FB223
triadic
#96B223 #2396B2 #B22396
tetradic
#96B223 #23B287 #3F23B2 #B2234F
square
#96B223 #23B287 #3F23B2 #B2234F
split-complementary
#96B223 #234FB2 #8723B2
monochromatic
#404C0F #6B7F19 #96B223 #B9D83A #CBE26D

Accessibility & contrast

On white

2.42
#96B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#96B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B223
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B223#FFFFFF#000000##000000
##96B2231.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#9FA898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b223;
/* rgb */ color: rgb(150, 178, 35);
/* oklch */ color: oklch(71.8% 0.161 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c96c',
    500: '#96b223',
    950: '#000000',
  },
}
SCSS
$custom: #96b223;
$custom-light: #b9c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#96b223",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 71.748,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.16124,
    "h": 120.8
  },
  "luminance": 0.38446
}

Semantic roles & 50–950 ramp

primary
#96B223
secondary
#7B68C9
accent
#3EEA5F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B223

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

Preview Lab → · Contrast checker → · Palette generator →

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