#96B229#96B229

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

Color values

HEX#96B229
RGBrgb(150, 178, 41)
HSLhsl(72, 63%, 43%)
HSVhsv(72, 77%, 70%)
CMYKcmyk(15.7%, 0%, 77%, 30.2%)
CIE-LABlab(68.38, -27.48, 61.70)
CIE-LCHlch(68.38, 67.54, 114.01°)
OKLaboklab(71.8% -0.0814 0.1358)
OKLCHoklch(71.8% 0.158 120.9)
XYZxyz(28.8988, 38.4850, 8.0033)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B229 #4529B2
analogous
#B28929 #96B229 #51B229
triadic
#96B229 #2996B2 #B22996
tetradic
#96B229 #29B289 #4529B2 #B22951
square
#96B229 #29B289 #4529B2 #B22951
split-complementary
#96B229 #2951B2 #8929B2
monochromatic
#424F12 #6C801E #96B229 #B7D444 #CADF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96B229#FFFFFF#000000##000000
##96B2291.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96b229;
/* rgb */ color: rgb(150, 178, 41);
/* oklch */ color: oklch(71.8% 0.158 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c96e',
    500: '#96b229',
    950: '#000000',
  },
}
SCSS
$custom: #96b229;
$custom-light: #b9c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#96b229",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 72.263,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.1583,
    "h": 120.9
  },
  "luminance": 0.38485
}

Semantic roles & 50–950 ramp

primary
#96B229
secondary
#8270C7
accent
#42E664
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B229

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

Preview Lab → · Contrast checker → · Palette generator →

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