#96A931#96A931

#96A931 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.143 H 118.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#96A931
RGBrgb(150, 169, 49)
HSLhsl(70, 55%, 43%)
HSVhsv(70, 71%, 66%)
CMYKcmyk(11.2%, 0%, 71%, 33.7%)
CIE-LABlab(65.81, -22.66, 56.47)
CIE-LCHlch(65.81, 60.85, 111.87°)
OKLaboklab(69.75% -0.0674 0.1261)
OKLCHoklch(69.75% 0.143 118.1)
XYZxyz(27.3206, 35.0820, 8.2374)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A931 #4431A9
analogous
#A98031 #96A931 #5AA931
triadic
#96A931 #3196A9 #A93196
tetradic
#96A931 #31A980 #4431A9 #A9315A
square
#96A931 #31A980 #4431A9 #A9315A
split-complementary
#96A931 #315AA9 #8031A9
monochromatic
#424A15 #6C7A23 #96A931 #B7CB4C #CAD97C

Accessibility & contrast

On white

2.62
#96A931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#96A931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A931
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A931#FFFFFF#000000##000000
##96A9311.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#9FA091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96a931;
/* rgb */ color: rgb(150, 169, 49);
/* oklch */ color: oklch(69.8% 0.143 118.1);
Tailwind
colors: {
  custom: {
    50: '#b8c271',
    500: '#96a931',
    950: '#000000',
  },
}
SCSS
$custom: #96a931;
$custom-light: #b8c271;
$custom-dark: #000000;
JSON
{
  "hex": "#96a931",
  "rgb": {
    "r": 150,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 69.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.143,
    "h": 118.1
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#96A931
secondary
#8174C1
accent
#49DE61
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A931

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

Preview Lab → · Contrast checker → · Palette generator →

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