#96A538#96A538

#96A538 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.133 H 116.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#96A538
RGBrgb(150, 165, 56)
HSLhsl(68, 49%, 43%)
HSVhsv(68, 66%, 65%)
CMYKcmyk(9.1%, 0%, 66.1%, 35.3%)
CIE-LABlab(64.71, -20.22, 52.57)
CIE-LCHlch(64.71, 56.33, 111.04°)
OKLaboklab(68.88% -0.0599 0.119)
OKLCHoklch(68.88% 0.133 116.7)
XYZxyz(26.7472, 33.6801, 8.8325)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A538 #4738A5
analogous
#A57D38 #96A538 #5FA538
triadic
#96A538 #3896A5 #A53896
tetradic
#96A538 #38A57D #4738A5 #A5385F
square
#96A538 #38A57D #4738A5 #A5385F
split-complementary
#96A538 #385FA5 #7D38A5
monochromatic
#434A19 #6C7728 #96A538 #B6C555 #C9D583

Accessibility & contrast

On white

2.71
#96A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#96A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A538
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A538#FFFFFF#000000##000000
##96A5381.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#9F9C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a538;
/* rgb */ color: rgb(150, 165, 56);
/* oklch */ color: oklch(68.9% 0.133 116.7);
Tailwind
colors: {
  custom: {
    50: '#b8bf74',
    500: '#96a538',
    950: '#000000',
  },
}
SCSS
$custom: #96a538;
$custom-light: #b8bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#96a538",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 68.257,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.13328,
    "h": 116.7
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

primary
#96A538
secondary
#847ABE
accent
#4FD962
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #96A538

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

Preview Lab → · Contrast checker → · Palette generator →

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