#96A331#96A331

#96A331 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.136 H 115.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#96A331
RGBrgb(150, 163, 49)
HSLhsl(67, 54%, 42%)
HSVhsv(67, 70%, 64%)
CMYKcmyk(8%, 0%, 69.9%, 36.1%)
CIE-LABlab(64.08, -19.65, 54.75)
CIE-LCHlch(64.08, 58.16, 109.74°)
OKLaboklab(68.36% -0.059 0.1225)
OKLCHoklch(68.36% 0.136 115.7)
XYZxyz(26.2299, 32.9006, 7.8738)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A331 #3E31A3
analogous
#A37731 #96A331 #5DA331
triadic
#96A331 #3196A3 #A33196
tetradic
#96A331 #31A377 #3E31A3 #A3315D
square
#96A331 #31A377 #3E31A3 #A3315D
split-complementary
#96A331 #315DA3 #7731A3
monochromatic
#3F4515 #6B7423 #96A331 #BAC849 #CCD678

Accessibility & contrast

On white

2.77
#96A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#96A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A331
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A331#FFFFFF#000000##000000
##96A3311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1F
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#A09A8C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a331;
/* rgb */ color: rgb(150, 163, 49);
/* oklch */ color: oklch(68.4% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#b8be70',
    500: '#96a331',
    950: '#000000',
  },
}
SCSS
$custom: #96a331;
$custom-light: #b8be70;
$custom-dark: #000000;
JSON
{
  "hex": "#96a331",
  "rgb": {
    "r": 150,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 66.842,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6836,
    "c": 0.13597,
    "h": 115.7
  },
  "luminance": 0.329
}

Semantic roles & 50–950 ramp

primary
#96A331
secondary
#7A71BF
accent
#4BDD5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A331

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

Preview Lab → · Contrast checker → · Palette generator →

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