#96A821#96A821

#96A821 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.4% C 0.151 H 117.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#96A821
RGBrgb(150, 168, 33)
HSLhsl(68, 67%, 39%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.7%, 0%, 80.4%, 34.1%)
CIE-LABlab(65.44, -22.92, 61.44)
CIE-LCHlch(65.44, 65.57, 110.46°)
OKLaboklab(69.42% -0.0695 0.1339)
OKLCHoklch(69.42% 0.151 117.4)
XYZxyz(26.8555, 34.5994, 6.7022)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A821 #3321A8
analogous
#A87721 #96A821 #53A821
triadic
#96A821 #2196A8 #A82196
tetradic
#96A821 #21A877 #3321A8 #A82153
square
#96A821 #21A877 #3321A8 #A82153
split-complementary
#96A821 #2153A8 #7721A8
monochromatic
#3B420D #687517 #96A821 #C0D630 #D0E063

Accessibility & contrast

On white

2.65
#96A821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#96A821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A821
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A821#FFFFFF#000000##000000
##96A8211.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#A09E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a821;
/* rgb */ color: rgb(150, 168, 33);
/* oklch */ color: oklch(69.4% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c169',
    500: '#96a821',
    950: '#000000',
  },
}
SCSS
$custom: #96a821;
$custom-light: #b9c169;
$custom-dark: #000000;
JSON
{
  "hex": "#96a821",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 68,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69421,
    "c": 0.1508,
    "h": 117.4
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

primary
#96A821
secondary
#6D5FC5
accent
#3EEA55
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A821

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

Preview Lab → · Contrast checker → · Palette generator →

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