#96A328#96A328

#96A328 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.3% C 0.142 H 115.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#96A328
RGBrgb(150, 163, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 75%, 64%)
CMYKcmyk(8%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.02, -20.12, 57.96)
CIE-LCHlch(64.02, 61.35, 109.14°)
OKLaboklab(68.3% -0.0612 0.1277)
OKLCHoklch(68.3% 0.142 115.6)
XYZxyz(26.0586, 32.8320, 6.9715)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A328 #3528A3
analogous
#A37228 #96A328 #59A328
triadic
#96A328 #2896A3 #A32896
tetradic
#96A328 #28A372 #3528A3 #A32859
square
#96A328 #28A372 #3528A3 #A32859
split-complementary
#96A328 #2859A3 #7228A3
monochromatic
#3C4110 #69721C #96A328 #BFCF3A #CFDB6B

Accessibility & contrast

On white

2.78
#96A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#96A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A328
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A328#FFFFFF#000000##000000
##96A3281.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0C
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a328;
/* rgb */ color: rgb(150, 163, 40);
/* oklch */ color: oklch(68.3% 0.142 115.6);
Tailwind
colors: {
  custom: {
    50: '#b8be6c',
    500: '#96a328',
    950: '#000000',
  },
}
SCSS
$custom: #96a328;
$custom-light: #b8be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a328",
  "rgb": {
    "r": 150,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 66.341,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.1416,
    "h": 115.6
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

primary
#96A328
secondary
#6F66C1
accent
#44E455
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A328

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

Preview Lab → · Contrast checker → · Palette generator →

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