#96A921#96A921

#96A921 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.152 H 117.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#96A921
RGBrgb(150, 169, 33)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(11.2%, 0%, 80.5%, 33.7%)
CIE-LABlab(65.73, -23.42, 61.70)
CIE-LCHlch(65.73, 65.99, 110.78°)
OKLaboklab(69.65% -0.0708 0.1344)
OKLCHoklch(69.65% 0.152 117.8)
XYZxyz(27.0408, 34.9701, 6.7639)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A921 #3421A9
analogous
#A97821 #96A921 #52A921
triadic
#96A921 #2196A9 #A92196
tetradic
#96A921 #21A978 #3421A9 #A92152
square
#96A921 #21A978 #3421A9 #A92152
split-complementary
#96A921 #2152A9 #7821A9
monochromatic
#3B430D #697617 #96A921 #BFD731 #CFE164

Accessibility & contrast

On white

2.63
#96A921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#96A921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A921
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A921#FFFFFF#000000##000000
##96A9211.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#A09F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96a921;
/* rgb */ color: rgb(150, 169, 33);
/* oklch */ color: oklch(69.7% 0.152 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c26a',
    500: '#96a921',
    950: '#000000',
  },
}
SCSS
$custom: #96a921;
$custom-light: #b9c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a921",
  "rgb": {
    "r": 150,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 68.382,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.15192,
    "h": 117.8
  },
  "luminance": 0.3497
}

Semantic roles & 50–950 ramp

primary
#96A921
secondary
#6E60C6
accent
#3EEA56
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A921

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

Preview Lab → · Contrast checker → · Palette generator →

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