#96B238#96B238

#96B238 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.149 H 121.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#96B238
RGBrgb(150, 178, 56)
HSLhsl(74, 52%, 46%)
HSVhsv(74, 69%, 70%)
CMYKcmyk(15.7%, 0%, 68.5%, 30.2%)
CIE-LABlab(68.47, -26.66, 56.45)
CIE-LCHlch(68.47, 62.43, 115.28°)
OKLaboklab(71.91% -0.0778 0.1272)
OKLCHoklch(71.91% 0.149 121.5)
XYZxyz(29.2123, 38.6103, 9.6542)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B238 #5438B2
analogous
#B29138 #96B238 #59B238
triadic
#96B238 #3896B2 #B23896
tetradic
#96B238 #38B291 #5438B2 #B23859
square
#96B238 #38B291 #5438B2 #B23859
split-complementary
#96B238 #3859B2 #9138B2
monochromatic
#48551B #6F8329 #96B238 #B2CC5C #C8DA8A

Accessibility & contrast

On white

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

On black

8.72
#96B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B238
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B238#FFFFFF#000000##000000
##96B2381.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA726
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#9EA99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #96b238;
/* rgb */ color: rgb(150, 178, 56);
/* oklch */ color: oklch(71.9% 0.149 121.5);
Tailwind
colors: {
  custom: {
    50: '#b8c976',
    500: '#96b238',
    950: '#000000',
  },
}
SCSS
$custom: #96b238;
$custom-light: #b8c976;
$custom-dark: #000000;
JSON
{
  "hex": "#96b238",
  "rgb": {
    "r": 150,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 73.77,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71905,
    "c": 0.14911,
    "h": 121.5
  },
  "luminance": 0.3861
}

Semantic roles & 50–950 ramp

primary
#96B238
secondary
#9181C5
accent
#4CDC6D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #96B238

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

Preview Lab → · Contrast checker → · Palette generator →

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