#96A520#96A520

#96A520 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.7% C 0.148 H 116.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#96A520
RGBrgb(150, 165, 32)
HSLhsl(67, 68%, 39%)
HSVhsv(67, 81%, 65%)
CMYKcmyk(9.1%, 0%, 80.6%, 35.3%)
CIE-LABlab(64.56, -21.46, 60.95)
CIE-LCHlch(64.56, 64.62, 109.40°)
OKLaboklab(68.72% -0.0655 0.1326)
OKLCHoklch(68.72% 0.148 116.3)
XYZxyz(26.2943, 33.4990, 6.4470)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A520 #2F20A5
analogous
#A57120 #96A520 #53A520
triadic
#96A520 #2096A5 #A52096
tetradic
#96A520 #20A571 #2F20A5 #A52053
square
#96A520 #20A571 #2F20A5 #A52053
split-complementary
#96A520 #2053A5 #7120A5
monochromatic
#393E0C #677216 #96A520 #C3D62C #D2E05F

Accessibility & contrast

On white

2.73
#96A520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#96A520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A520
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A520#FFFFFF#000000##000000
##96A5201.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a520;
/* rgb */ color: rgb(150, 165, 32);
/* oklch */ color: oklch(68.7% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9bf69',
    500: '#96a520',
    950: '#000000',
  },
}
SCSS
$custom: #96a520;
$custom-light: #b9bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a520",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 66.767,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68718,
    "c": 0.14793,
    "h": 116.3
  },
  "luminance": 0.33499
}

Semantic roles & 50–950 ramp

primary
#96A520
secondary
#685CC5
accent
#3DEA51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A520

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

Preview Lab → · Contrast checker → · Palette generator →

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