#96A528#96A528

#96A528 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.144 H 116.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#96A528
RGBrgb(150, 165, 40)
HSLhsl(67, 61%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(9.1%, 0%, 75.8%, 35.3%)
CIE-LABlab(64.60, -21.12, 58.50)
CIE-LCHlch(64.60, 62.20, 109.85°)
OKLaboklab(68.76% -0.064 0.1289)
OKLCHoklch(68.76% 0.144 116.4)
XYZxyz(26.4165, 33.5479, 7.0909)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A528 #3728A5
analogous
#A57528 #96A528 #57A528
triadic
#96A528 #2896A5 #A52896
tetradic
#96A528 #28A575 #3728A5 #A52857
square
#96A528 #28A575 #3728A5 #A52857
split-complementary
#96A528 #2857A5 #7528A5
monochromatic
#3C4210 #69741C #96A528 #BECF3B #CEDB6C

Accessibility & contrast

On white

2.72
#96A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#96A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A528
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A528#FFFFFF#000000##000000
##96A5281.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0A
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a528;
/* rgb */ color: rgb(150, 165, 40);
/* oklch */ color: oklch(68.8% 0.144 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf6c',
    500: '#96a528',
    950: '#000000',
  },
}
SCSS
$custom: #96a528;
$custom-light: #b8bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a528",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 67.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.14386,
    "h": 116.4
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#96A528
secondary
#7267C2
accent
#44E457
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A528

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

Preview Lab → · Contrast checker → · Palette generator →

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