#96A722#96A722

#96A722 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.149 H 117.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#96A722
RGBrgb(150, 167, 34)
HSLhsl(68, 66%, 39%)
HSVhsv(68, 80%, 65%)
CMYKcmyk(10.2%, 0%, 79.6%, 34.5%)
CIE-LABlab(65.15, -22.38, 60.89)
CIE-LCHlch(65.15, 64.88, 110.18°)
OKLaboklab(69.19% -0.0679 0.1329)
OKLCHoklch(69.19% 0.149 117.1)
XYZxyz(26.6858, 34.2373, 6.7157)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A722 #3322A7
analogous
#A77622 #96A722 #54A722
triadic
#96A722 #2296A7 #A72296
tetradic
#96A722 #22A776 #3322A7 #A72254
square
#96A722 #22A776 #3322A7 #A72254
split-complementary
#96A722 #2254A7 #7622A7
monochromatic
#3B410D #687418 #96A722 #C0D531 #D0DF64

Accessibility & contrast

On white

2.68
#96A722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#96A722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A722
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A722#FFFFFF#000000##000000
##96A7221.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#A09D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a722;
/* rgb */ color: rgb(150, 167, 34);
/* oklch */ color: oklch(69.2% 0.149 117.1);
Tailwind
colors: {
  custom: {
    50: '#b9c16a',
    500: '#96a722',
    950: '#000000',
  },
}
SCSS
$custom: #96a722;
$custom-light: #b9c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a722",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 67.669,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.14922,
    "h": 117.1
  },
  "luminance": 0.34237
}

Semantic roles & 50–950 ramp

primary
#96A722
secondary
#6D60C5
accent
#3FE954
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A722

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

Preview Lab → · Contrast checker → · Palette generator →

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