#96AA21#96AA21

#96AA21 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 69.9% C 0.153 H 118.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#96AA21
RGBrgb(150, 170, 33)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 81%, 67%)
CMYKcmyk(11.8%, 0%, 80.6%, 33.3%)
CIE-LABlab(66.02, -23.91, 61.95)
CIE-LCHlch(66.02, 66.41, 111.10°)
OKLaboklab(69.89% -0.0722 0.1349)
OKLCHoklch(69.89% 0.153 118.1)
XYZxyz(27.2276, 35.3436, 6.8262)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA21 #3521AA
analogous
#AA7A21 #96AA21 #52AA21
triadic
#96AA21 #2196AA #AA2196
tetradic
#96AA21 #21AA7A #3521AA #AA2152
square
#96AA21 #21AA7A #3521AA #AA2152
split-complementary
#96AA21 #2152AA #7A21AA
monochromatic
#3C430D #697717 #96AA21 #BFD731 #CFE164

Accessibility & contrast

On white

2.60
#96AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#96AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA21
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA21#FFFFFF#000000##000000
##96AA211.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#A0A091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96aa21;
/* rgb */ color: rgb(150, 170, 33);
/* oklch */ color: oklch(69.9% 0.153 118.1);
Tailwind
colors: {
  custom: {
    50: '#b9c36a',
    500: '#96aa21',
    950: '#000000',
  },
}
SCSS
$custom: #96aa21;
$custom-light: #b9c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa21",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 68.759,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69887,
    "c": 0.15305,
    "h": 118.1
  },
  "luminance": 0.35343
}

Semantic roles & 50–950 ramp

primary
#96AA21
secondary
#6F61C6
accent
#3DEA57
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AA21

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

Preview Lab → · Contrast checker → · Palette generator →

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