#96A22D#96A22D

#96A22D is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.137 H 115.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#96A22D
RGBrgb(150, 162, 45)
HSLhsl(66, 57%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(7.4%, 0%, 72.2%, 36.5%)
CIE-LABlab(63.77, -19.36, 55.95)
CIE-LCHlch(63.77, 59.20, 109.09°)
OKLaboklab(68.1% -0.0586 0.1243)
OKLCHoklch(68.1% 0.137 115.2)
XYZxyz(25.9724, 32.5146, 7.3899)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22D #392DA2
analogous
#A2732D #96A22D #5BA22D
triadic
#96A22D #2D96A2 #A22D96
tetradic
#96A22D #2DA273 #392DA2 #A22D5B
square
#96A22D #2DA273 #392DA2 #A22D5B
split-complementary
#96A22D #2D5BA2 #732DA2
monochromatic
#3D4212 #6A7220 #96A22D #BCCA42 #CDD872

Accessibility & contrast

On white

2.80
#96A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#96A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A22D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A22D#FFFFFF#000000##000000
##96A22D1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#A0998B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22d;
/* rgb */ color: rgb(150, 162, 45);
/* oklch */ color: oklch(68.1% 0.137 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd6e',
    500: '#96a22d',
    950: '#000000',
  },
}
SCSS
$custom: #96a22d;
$custom-light: #b8bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22d",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 66.154,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.681,
    "c": 0.13747,
    "h": 115.2
  },
  "luminance": 0.32514
}

Semantic roles & 50–950 ramp

primary
#96A22D
secondary
#746CBF
accent
#48E058
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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