#96AC21#96AC21

#96AC21 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#96AC21
RGBrgb(150, 172, 33)
HSLhsl(69, 68%, 40%)
HSVhsv(69, 81%, 67%)
CMYKcmyk(12.8%, 0%, 80.8%, 32.5%)
CIE-LABlab(66.60, -24.89, 62.47)
CIE-LCHlch(66.60, 67.25, 111.73°)
OKLaboklab(70.36% -0.0749 0.1361)
OKLCHoklch(70.36% 0.155 118.8)
XYZxyz(27.6054, 36.0991, 6.9521)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AC21 #3721AC
analogous
#AC7C21 #96AC21 #51AC21
triadic
#96AC21 #2196AC #AC2196
tetradic
#96AC21 #21AC7C #3721AC #AC2151
square
#96AC21 #21AC7C #3721AC #AC2151
split-complementary
#96AC21 #2151AC #7C21AC
monochromatic
#3C450D #697917 #96AC21 #BED832 #CEE266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AC21#FFFFFF#000000##000000
##96AC211.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)
#B5A22F
Tritanopia (blue-blind)
#9FA293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #96ac21;
/* rgb */ color: rgb(150, 172, 33);
/* oklch */ color: oklch(70.4% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c46a',
    500: '#96ac21',
    950: '#000000',
  },
}
SCSS
$custom: #96ac21;
$custom-light: #b9c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#96ac21",
  "rgb": {
    "r": 150,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 69.496,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.1553,
    "h": 118.8
  },
  "luminance": 0.36099
}

Semantic roles & 50–950 ramp

primary
#96AC21
secondary
#7262C7
accent
#3DEB59
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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