#96B523#96B523

#96B523 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.5% C 0.165 H 121.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#96B523
RGBrgb(150, 181, 35)
HSLhsl(73, 68%, 42%)
HSVhsv(73, 81%, 71%)
CMYKcmyk(17.1%, 0%, 80.7%, 29%)
CIE-LABlab(69.22, -29.17, 64.25)
CIE-LCHlch(69.22, 70.56, 114.42°)
OKLaboklab(72.48% -0.0864 0.1402)
OKLCHoklch(72.48% 0.165 121.7)
XYZxyz(29.4054, 39.6531, 7.6945)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B523 #4223B5
analogous
#B58B23 #96B523 #4DB523
triadic
#96B523 #2396B5 #B52396
tetradic
#96B523 #23B58B #4223B5 #B5234D
square
#96B523 #23B58B #4223B5 #B5234D
split-complementary
#96B523 #234DB5 #8B23B5
monochromatic
#414E0F #6B8219 #96B523 #B8D93C #CBE36F

Accessibility & contrast

On white

2.35
#96B523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#96B523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B523
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B523#FFFFFF#000000##000000
##96B5231.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #96b523;
/* rgb */ color: rgb(150, 181, 35);
/* oklch */ color: oklch(72.5% 0.165 121.7);
Tailwind
colors: {
  custom: {
    50: '#b9cb6c',
    500: '#96b523',
    950: '#000000',
  },
}
SCSS
$custom: #96b523;
$custom-light: #b9cb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96b523",
  "rgb": {
    "r": 150,
    "g": 181,
    "b": 35
  },
  "hsl": {
    "h": 72.74,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72476,
    "c": 0.16469,
    "h": 121.7
  },
  "luminance": 0.39653
}

Semantic roles & 50–950 ramp

primary
#96B523
secondary
#7E6ACA
accent
#3DEA62
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #96B523

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

Preview Lab → · Contrast checker → · Palette generator →

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