#96A327#96A327

#96A327 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.3% C 0.142 H 115.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#96A327
RGBrgb(150, 163, 39)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(8%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.02, -20.16, 58.29)
CIE-LCHlch(64.02, 61.68, 109.08°)
OKLaboklab(68.29% -0.0614 0.1282)
OKLCHoklch(68.29% 0.142 115.6)
XYZxyz(26.0418, 32.8253, 6.8831)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A327 #3427A3
analogous
#A37227 #96A327 #58A327
triadic
#96A327 #2796A3 #A32796
tetradic
#96A327 #27A372 #3427A3 #A32758
square
#96A327 #27A372 #3427A3 #A32758
split-complementary
#96A327 #2758A3 #7227A3
monochromatic
#3B400F #69721B #96A327 #BFCF38 #CFDB69

Accessibility & contrast

On white

2.78
#96A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#96A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A327
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A327#FFFFFF#000000##000000
##96A3271.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A08
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a327;
/* rgb */ color: rgb(150, 163, 39);
/* oklch */ color: oklch(68.3% 0.142 115.6);
Tailwind
colors: {
  custom: {
    50: '#b8be6b',
    500: '#96a327',
    950: '#000000',
  },
}
SCSS
$custom: #96a327;
$custom-light: #b8be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a327",
  "rgb": {
    "r": 150,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 66.29,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.14217,
    "h": 115.6
  },
  "luminance": 0.32825
}

Semantic roles & 50–950 ramp

primary
#96A327
secondary
#6E64C1
accent
#43E454
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A327

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

Preview Lab → · Contrast checker → · Palette generator →

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