#96A529#96A529

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

Color values

HEX#96A529
RGBrgb(150, 165, 41)
HSLhsl(67, 60%, 40%)
HSVhsv(67, 75%, 65%)
CMYKcmyk(9.1%, 0%, 75.2%, 35.3%)
CIE-LABlab(64.61, -21.08, 58.17)
CIE-LCHlch(64.61, 61.87, 109.92°)
OKLaboklab(68.77% -0.0637 0.1283)
OKLCHoklch(68.77% 0.143 116.4)
XYZxyz(26.4337, 33.5548, 7.1816)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A529 #3829A5
analogous
#A57629 #96A529 #58A529
triadic
#96A529 #2996A5 #A52996
tetradic
#96A529 #29A576 #3829A5 #A52958
square
#96A529 #29A576 #3829A5 #A52958
split-complementary
#96A529 #2958A5 #7629A5
monochromatic
#3D4311 #69741D #96A529 #BDCF3D #CEDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A529#FFFFFF#000000##000000
##96A5291.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)
#B19C0D
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a529;
/* rgb */ color: rgb(150, 165, 41);
/* oklch */ color: oklch(68.8% 0.143 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf6d',
    500: '#96a529',
    950: '#000000',
  },
}
SCSS
$custom: #96a529;
$custom-light: #b8bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a529",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 67.258,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68768,
    "c": 0.14329,
    "h": 116.4
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#96A529
secondary
#7368C2
accent
#44E358
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A529

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

Preview Lab → · Contrast checker → · Palette generator →

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