#96B227#96B227

#96B227 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.69:1 contrast (WCAG AA passes).

Color values

HEX#96B227
RGBrgb(150, 178, 39)
HSLhsl(72, 64%, 43%)
HSVhsv(72, 78%, 70%)
CMYKcmyk(15.7%, 0%, 78.1%, 30.2%)
CIE-LABlab(68.37, -27.57, 62.31)
CIE-LCHlch(68.37, 68.14, 113.86°)
OKLaboklab(71.79% -0.0818 0.1367)
OKLCHoklch(71.79% 0.159 120.9)
XYZxyz(28.8648, 38.4713, 7.8241)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B227 #4327B2
analogous
#B28827 #96B227 #51B227
triadic
#96B227 #2796B2 #B22796
tetradic
#96B227 #27B288 #4327B2 #B22751
square
#96B227 #27B288 #4327B2 #B22751
split-complementary
#96B227 #2751B2 #8827B2
monochromatic
#414E11 #6C801C #96B227 #B7D541 #CAE073

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B227#FFFFFF#000000##000000
##96B2271.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)
#BAA735
Tritanopia (blue-blind)
#9FA898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b227;
/* rgb */ color: rgb(150, 178, 39);
/* oklch */ color: oklch(71.8% 0.159 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c96d',
    500: '#96b227',
    950: '#000000',
  },
}
SCSS
$custom: #96b227;
$custom-light: #b9c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#96b227",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 72.086,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71791,
    "c": 0.15932,
    "h": 120.9
  },
  "luminance": 0.38471
}

Semantic roles & 50–950 ramp

primary
#96B227
secondary
#7F6DC8
accent
#41E762
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #96B227

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

Preview Lab → · Contrast checker → · Palette generator →

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