#96A822#96A822

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

Color values

HEX#96A822
RGBrgb(150, 168, 34)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.7%, 0%, 79.8%, 34.1%)
CIE-LABlab(65.44, -22.88, 61.15)
CIE-LCHlch(65.44, 65.29, 110.51°)
OKLaboklab(69.43% -0.0693 0.1334)
OKLCHoklch(69.43% 0.15 117.4)
XYZxyz(26.8697, 34.6051, 6.7770)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A822 #3422A8
analogous
#A87722 #96A822 #53A822
triadic
#96A822 #2296A8 #A82296
tetradic
#96A822 #22A877 #3422A8 #A82253
square
#96A822 #22A877 #3422A8 #A82253
split-complementary
#96A822 #2253A8 #7722A8
monochromatic
#3B420D #697518 #96A822 #BFD532 #CFE065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A822#FFFFFF#000000##000000
##96A8221.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: #96a822;
/* rgb */ color: rgb(150, 168, 34);
/* oklch */ color: oklch(69.4% 0.150 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c16a',
    500: '#96a822',
    950: '#000000',
  },
}
SCSS
$custom: #96a822;
$custom-light: #b9c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a822",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 68.06,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69426,
    "c": 0.15034,
    "h": 117.4
  },
  "luminance": 0.34605
}

Semantic roles & 50–950 ramp

primary
#96A822
secondary
#6E61C5
accent
#3FE955
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A822

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

Preview Lab → · Contrast checker → · Palette generator →

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