#96B534#96B534

#96B534 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.155 H 122.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#96B534
RGBrgb(150, 181, 52)
HSLhsl(74, 55%, 46%)
HSVhsv(74, 71%, 71%)
CMYKcmyk(17.1%, 0%, 71.3%, 29%)
CIE-LABlab(69.31, -28.35, 58.82)
CIE-LCHlch(69.31, 65.30, 115.73°)
OKLaboklab(72.58% -0.0828 0.1316)
OKLCHoklch(72.58% 0.155 122.2)
XYZxyz(29.7218, 39.7796, 9.3606)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B534 #5334B5
analogous
#B59434 #96B534 #55B534
triadic
#96B534 #3496B5 #B53496
tetradic
#96B534 #34B594 #5334B5 #B53455
square
#96B534 #34B594 #5334B5 #B53455
split-complementary
#96B534 #3455B5 #9434B5
monochromatic
#475619 #6F8526 #96B534 #B2CF57 #C8DC87

Accessibility & contrast

On white

2.34
#96B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#96B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B534
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B534#FFFFFF#000000##000000
##96B5341.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#9EAC9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #96b534;
/* rgb */ color: rgb(150, 181, 52);
/* oklch */ color: oklch(72.6% 0.155 122.2);
Tailwind
colors: {
  custom: {
    50: '#b8cb74',
    500: '#96b534',
    950: '#000000',
  },
}
SCSS
$custom: #96b534;
$custom-light: #b8cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#96b534",
  "rgb": {
    "r": 150,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 74.419,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72578,
    "c": 0.15547,
    "h": 122.2
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#96B534
secondary
#907FC6
accent
#49DF6D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #96B534

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

Preview Lab → · Contrast checker → · Palette generator →

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