#96AD21#96AD21

#96AD21 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.6% C 0.156 H 119.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#96AD21
RGBrgb(150, 173, 33)
HSLhsl(70, 68%, 40%)
HSVhsv(70, 81%, 68%)
CMYKcmyk(13.3%, 0%, 80.9%, 32.2%)
CIE-LABlab(66.89, -25.38, 62.73)
CIE-LCHlch(66.89, 67.67, 112.03°)
OKLaboklab(70.59% -0.0762 0.1366)
OKLCHoklch(70.59% 0.156 119.2)
XYZxyz(27.7964, 36.4812, 7.0158)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AD21 #3821AD
analogous
#AD7E21 #96AD21 #50AD21
triadic
#96AD21 #2196AD #AD2196
tetradic
#96AD21 #21AD7E #3821AD #AD2150
square
#96AD21 #21AD7E #3821AD #AD2150
split-complementary
#96AD21 #2150AD #7E21AD
monochromatic
#3D460D #697A17 #96AD21 #BDD833 #CEE266

Accessibility & contrast

On white

2.53
#96AD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#96AD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AD21
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AD21#FFFFFF#000000##000000
##96AD211.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#9FA394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #96ad21;
/* rgb */ color: rgb(150, 173, 33);
/* oklch */ color: oklch(70.6% 0.156 119.2);
Tailwind
colors: {
  custom: {
    50: '#b9c56a',
    500: '#96ad21',
    950: '#000000',
  },
}
SCSS
$custom: #96ad21;
$custom-light: #b9c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#96ad21",
  "rgb": {
    "r": 150,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 69.857,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.15643,
    "h": 119.2
  },
  "luminance": 0.36481
}

Semantic roles & 50–950 ramp

primary
#96AD21
secondary
#7362C7
accent
#3DEB5A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AD21

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

Preview Lab → · Contrast checker → · Palette generator →

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