#96A527#96A527

#96A527 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#96A527
RGBrgb(150, 165, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(9.1%, 0%, 76.4%, 35.3%)
CIE-LABlab(64.60, -21.17, 58.83)
CIE-LCHlch(64.60, 62.52, 109.79°)
OKLaboklab(68.76% -0.0642 0.1294)
OKLCHoklch(68.76% 0.144 116.4)
XYZxyz(26.3997, 33.5412, 7.0024)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A527 #3627A5
analogous
#A57527 #96A527 #57A527
triadic
#96A527 #2796A5 #A52796
tetradic
#96A527 #27A575 #3627A5 #A52757
square
#96A527 #27A575 #3627A5 #A52757
split-complementary
#96A527 #2757A5 #7527A5
monochromatic
#3C4210 #69741B #96A527 #BED039 #CEDC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A527#FFFFFF#000000##000000
##96A5271.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)
#B19C07
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a527;
/* rgb */ color: rgb(150, 165, 39);
/* oklch */ color: oklch(68.8% 0.144 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf6c',
    500: '#96a527',
    950: '#000000',
  },
}
SCSS
$custom: #96a527;
$custom-light: #b8bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a527",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 67.143,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.14441,
    "h": 116.4
  },
  "luminance": 0.33541
}

Semantic roles & 50–950 ramp

primary
#96A527
secondary
#7166C2
accent
#43E556
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A527

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

Preview Lab → · Contrast checker → · Palette generator →

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