#96AA22#96AA22

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

Color values

HEX#96AA22
RGBrgb(150, 170, 34)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(11.8%, 0%, 80%, 33.3%)
CIE-LABlab(66.02, -23.87, 61.67)
CIE-LCHlch(66.02, 66.13, 111.16°)
OKLaboklab(69.89% -0.072 0.1345)
OKLCHoklch(69.89% 0.153 118.2)
XYZxyz(27.2418, 35.3492, 6.9010)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA22 #3622AA
analogous
#AA7A22 #96AA22 #52AA22
triadic
#96AA22 #2296AA #AA2296
tetradic
#96AA22 #22AA7A #3622AA #AA2252
square
#96AA22 #22AA7A #3622AA #AA2252
split-complementary
#96AA22 #2252AA #7A22AA
monochromatic
#3C440E #697718 #96AA22 #BED633 #CEE066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AA22#FFFFFF#000000##000000
##96AA221.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)
#B4A130
Tritanopia (blue-blind)
#A0A091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96aa22;
/* rgb */ color: rgb(150, 170, 34);
/* oklch */ color: oklch(69.9% 0.153 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c36a',
    500: '#96aa22',
    950: '#000000',
  },
}
SCSS
$custom: #96aa22;
$custom-light: #b9c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa22",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 68.824,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.15259,
    "h": 118.2
  },
  "luminance": 0.35349
}

Semantic roles & 50–950 ramp

primary
#96AA22
secondary
#7162C6
accent
#3EEA57
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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