#96A545#96A545

#96A545 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.122 H 117.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#96A545
RGBrgb(150, 165, 69)
HSLhsl(69, 41%, 46%)
HSVhsv(69, 58%, 65%)
CMYKcmyk(9.1%, 0%, 58.2%, 35.3%)
CIE-LABlab(64.82, -19.25, 46.97)
CIE-LCHlch(64.82, 50.76, 112.29°)
OKLaboklab(69.01% -0.0559 0.1089)
OKLCHoklch(69.01% 0.122 117.2)
XYZxyz(27.1074, 33.8242, 10.7298)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A545 #5445A5
analogous
#A58445 #96A545 #66A545
triadic
#96A545 #4596A5 #A54596
tetradic
#96A545 #45A584 #5445A5 #A54566
square
#96A545 #45A584 #5445A5 #A54566
split-complementary
#96A545 #4566A5 #8445A5
monochromatic
#484F21 #6F7A33 #96A545 #B2C068 #C8D293

Accessibility & contrast

On white

2.70
#96A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#96A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A545
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A545#FFFFFF#000000##000000
##96A5451.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#9E9D90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a545;
/* rgb */ color: rgb(150, 165, 69);
/* oklch */ color: oklch(69.0% 0.122 117.2);
Tailwind
colors: {
  custom: {
    50: '#b7bf7c',
    500: '#96a545',
    950: '#000000',
  },
}
SCSS
$custom: #96a545;
$custom-light: #b7bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a545",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 69.375,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6901,
    "c": 0.12242,
    "h": 117.2
  },
  "luminance": 0.33824
}

Semantic roles & 50–950 ramp

primary
#96A545
secondary
#9188BD
accent
#57D16A
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #96A545

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

Preview Lab → · Contrast checker → · Palette generator →

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