#96B228#96B228

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

Color values

HEX#96B228
RGBrgb(150, 178, 40)
HSLhsl(72, 63%, 43%)
HSVhsv(72, 78%, 70%)
CMYKcmyk(15.7%, 0%, 77.5%, 30.2%)
CIE-LABlab(68.37, -27.52, 62.01)
CIE-LCHlch(68.37, 67.84, 113.93°)
OKLaboklab(71.8% -0.0816 0.1363)
OKLCHoklch(71.8% 0.159 120.9)
XYZxyz(28.8816, 38.4781, 7.9126)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B228 #4428B2
analogous
#B28928 #96B228 #51B228
triadic
#96B228 #2896B2 #B22896
tetradic
#96B228 #28B289 #4428B2 #B22851
square
#96B228 #28B289 #4428B2 #B22851
split-complementary
#96B228 #2851B2 #8928B2
monochromatic
#424E12 #6C801D #96B228 #B7D543 #CAE075

Accessibility & contrast

On white

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

On black

8.70
#96B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B228
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B228#FFFFFF#000000##000000
##96B2281.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96b228;
/* rgb */ color: rgb(150, 178, 40);
/* oklch */ color: oklch(71.8% 0.159 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c96e',
    500: '#96b228',
    950: '#000000',
  },
}
SCSS
$custom: #96b228;
$custom-light: #b9c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#96b228",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 72.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71797,
    "c": 0.15882,
    "h": 120.9
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

primary
#96B228
secondary
#816FC7
accent
#41E663
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B228

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

Preview Lab → · Contrast checker → · Palette generator →

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