#96A525#96A525

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

Color values

HEX#96A525
RGBrgb(150, 165, 37)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(9.1%, 0%, 77.6%, 35.3%)
CIE-LABlab(64.59, -21.26, 59.47)
CIE-LCHlch(64.59, 63.15, 109.67°)
OKLaboklab(68.74% -0.0646 0.1304)
OKLCHoklch(68.74% 0.145 116.4)
XYZxyz(26.3674, 33.5282, 6.8325)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A525 #3425A5
analogous
#A57425 #96A525 #56A525
triadic
#96A525 #2596A5 #A52596
tetradic
#96A525 #25A574 #3425A5 #A52556
square
#96A525 #25A574 #3425A5 #A52556
split-complementary
#96A525 #2556A5 #7425A5
monochromatic
#3B410F #69731A #96A525 #BFD235 #CFDD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A525#FFFFFF#000000##000000
##96A5251.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a525;
/* rgb */ color: rgb(150, 165, 37);
/* oklch */ color: oklch(68.7% 0.145 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf6b',
    500: '#96a525',
    950: '#000000',
  },
}
SCSS
$custom: #96a525;
$custom-light: #b8bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a525",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 67.031,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68744,
    "c": 0.14548,
    "h": 116.4
  },
  "luminance": 0.33528
}

Semantic roles & 50–950 ramp

primary
#96A525
secondary
#6E63C3
accent
#41E655
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A525

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

Preview Lab → · Contrast checker → · Palette generator →

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