#96AC22#96AC22

#96AC22 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.4% C 0.155 H 118.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#96AC22
RGBrgb(150, 172, 34)
HSLhsl(70, 67%, 40%)
HSVhsv(70, 80%, 67%)
CMYKcmyk(12.8%, 0%, 80.2%, 32.5%)
CIE-LABlab(66.60, -24.86, 62.19)
CIE-LCHlch(66.60, 66.97, 111.78°)
OKLaboklab(70.36% -0.0747 0.1356)
OKLCHoklch(70.36% 0.155 118.8)
XYZxyz(27.6196, 36.1048, 7.0270)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AC22 #3822AC
analogous
#AC7D22 #96AC22 #51AC22
triadic
#96AC22 #2296AC #AC2296
tetradic
#96AC22 #22AC7D #3822AC #AC2251
square
#96AC22 #22AC7D #3822AC #AC2251
split-complementary
#96AC22 #2251AC #7D22AC
monochromatic
#3D460E #697918 #96AC22 #BDD734 #CEE167

Accessibility & contrast

On white

2.55
#96AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#96AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AC22
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AC22#FFFFFF#000000##000000
##96AC221.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#9FA293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #96ac22;
/* rgb */ color: rgb(150, 172, 34);
/* oklch */ color: oklch(70.4% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c46a',
    500: '#96ac22',
    950: '#000000',
  },
}
SCSS
$custom: #96ac22;
$custom-light: #b9c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#96ac22",
  "rgb": {
    "r": 150,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 69.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70359,
    "c": 0.15485,
    "h": 118.8
  },
  "luminance": 0.36105
}

Semantic roles & 50–950 ramp

primary
#96AC22
secondary
#7363C7
accent
#3EEA59
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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