#96A431#96A431

#96A431 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.137 H 116.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#96A431
RGBrgb(150, 164, 49)
HSLhsl(67, 54%, 42%)
HSVhsv(67, 70%, 64%)
CMYKcmyk(8.5%, 0%, 70.1%, 35.7%)
CIE-LABlab(64.37, -20.15, 55.03)
CIE-LCHlch(64.37, 58.61, 110.11°)
OKLaboklab(68.59% -0.0604 0.1231)
OKLCHoklch(68.59% 0.137 116.2)
XYZxyz(26.4082, 33.2571, 7.9332)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A431 #3F31A4
analogous
#A47931 #96A431 #5DA431
triadic
#96A431 #3196A4 #A43196
tetradic
#96A431 #31A479 #3F31A4 #A4315D
square
#96A431 #31A479 #3F31A4 #A4315D
split-complementary
#96A431 #315DA4 #7931A4
monochromatic
#404615 #6B7523 #96A431 #B9C949 #CBD779

Accessibility & contrast

On white

2.74
#96A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#96A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A431
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A431#FFFFFF#000000##000000
##96A4311.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#9F9B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a431;
/* rgb */ color: rgb(150, 164, 49);
/* oklch */ color: oklch(68.6% 0.137 116.2);
Tailwind
colors: {
  custom: {
    50: '#b8be70',
    500: '#96a431',
    950: '#000000',
  },
}
SCSS
$custom: #96a431;
$custom-light: #b8be70;
$custom-dark: #000000;
JSON
{
  "hex": "#96a431",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 67.304,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.13714,
    "h": 116.2
  },
  "luminance": 0.33257
}

Semantic roles & 50–950 ramp

primary
#96A431
secondary
#7B72BF
accent
#4ADD5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A431

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

Preview Lab → · Contrast checker → · Palette generator →

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