#96B231#96B231

#96B231 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.154 H 121.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#96B231
RGBrgb(150, 178, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 72%, 70%)
CMYKcmyk(15.7%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.42, -27.07, 59.03)
CIE-LCHlch(68.42, 64.95, 114.64°)
OKLaboklab(71.85% -0.0796 0.1315)
OKLCHoklch(71.85% 0.154 121.2)
XYZxyz(29.0529, 38.5466, 8.8148)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B231 #4D31B2
analogous
#B28D31 #96B231 #56B231
triadic
#96B231 #3196B2 #B23196
tetradic
#96B231 #31B28D #4D31B2 #B23156
square
#96B231 #31B28D #4D31B2 #B23156
split-complementary
#96B231 #3156B2 #8D31B2
monochromatic
#455217 #6E8224 #96B231 #B4CF51 #C9DC81

Accessibility & contrast

On white

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

On black

8.71
#96B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B231
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B231#FFFFFF#000000##000000
##96B2311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#9EA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b231;
/* rgb */ color: rgb(150, 178, 49);
/* oklch */ color: oklch(71.9% 0.154 121.2);
Tailwind
colors: {
  custom: {
    50: '#b8c972',
    500: '#96b231',
    950: '#000000',
  },
}
SCSS
$custom: #96b231;
$custom-light: #b8c972;
$custom-dark: #000000;
JSON
{
  "hex": "#96b231",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 73.023,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71853,
    "c": 0.15372,
    "h": 121.2
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

primary
#96B231
secondary
#8A79C5
accent
#48E069
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96B231

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

Preview Lab → · Contrast checker → · Palette generator →

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