#96B940#96B940

#96B940 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.6% C 0.152 H 123.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#96B940
RGBrgb(150, 185, 64)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 65%, 73%)
CMYKcmyk(18.9%, 0%, 65.4%, 27.5%)
CIE-LABlab(70.56, -29.48, 55.41)
CIE-LCHlch(70.56, 62.76, 118.02°)
OKLaboklab(73.61% -0.0849 0.1262)
OKLCHoklch(73.61% 0.152 123.9)
XYZxyz(30.8523, 41.5519, 11.2444)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B940 #6340B9
analogous
#B9A040 #96B940 #5AB940
triadic
#96B940 #4096B9 #B94096
tetradic
#96B940 #40B9A0 #6340B9 #B9405A
square
#96B940 #40B9A0 #6340B9 #B9405A
split-complementary
#96B940 #405AB9 #A040B9
monochromatic
#4C5E21 #718C30 #96B940 #B0CC6B #C8DB98

Accessibility & contrast

On white

2.26
#96B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#96B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B940
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B940#FFFFFF#000000##000000
##96B9401.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#BEAC49
Tritanopia (blue-blind)
#9DB0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #96b940;
/* rgb */ color: rgb(150, 185, 64);
/* oklch */ color: oklch(73.6% 0.152 123.9);
Tailwind
colors: {
  custom: {
    50: '#b8ce7b',
    500: '#96b940',
    950: '#000000',
  },
}
SCSS
$custom: #96b940;
$custom-light: #b8ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#96b940",
  "rgb": {
    "r": 150,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 77.355,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.15207,
    "h": 123.9
  },
  "luminance": 0.41552
}

Semantic roles & 50–950 ramp

primary
#96B940
secondary
#9E8EC7
accent
#50D877
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #96B940

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

Preview Lab → · Contrast checker → · Palette generator →

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