#96A522#96A522

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

Color values

HEX#96A522
RGBrgb(150, 165, 34)
HSLhsl(67, 66%, 39%)
HSVhsv(67, 79%, 65%)
CMYKcmyk(9.1%, 0%, 79.4%, 35.3%)
CIE-LABlab(64.57, -21.38, 60.37)
CIE-LCHlch(64.57, 64.05, 109.50°)
OKLaboklab(68.73% -0.0652 0.1318)
OKLCHoklch(68.73% 0.147 116.3)
XYZxyz(26.3223, 33.5102, 6.5945)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A522 #3122A5
analogous
#A57322 #96A522 #55A522
triadic
#96A522 #2296A5 #A52296
tetradic
#96A522 #22A573 #3122A5 #A52255
square
#96A522 #22A573 #3122A5 #A52255
split-complementary
#96A522 #2255A5 #7322A5
monochromatic
#3A400D #687218 #96A522 #C1D430 #D1DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A522#FFFFFF#000000##000000
##96A5221.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)
#B09D2F
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a522;
/* rgb */ color: rgb(150, 165, 34);
/* oklch */ color: oklch(68.7% 0.147 116.3);
Tailwind
colors: {
  custom: {
    50: '#b8bf69',
    500: '#96a522',
    950: '#000000',
  },
}
SCSS
$custom: #96a522;
$custom-light: #b8bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a522",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 66.87,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68728,
    "c": 0.14699,
    "h": 116.3
  },
  "luminance": 0.3351
}

Semantic roles & 50–950 ramp

primary
#96A522
secondary
#6A5FC4
accent
#3FE952
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A522

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

Preview Lab → · Contrast checker → · Palette generator →

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