#96A22C#96A22C

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

Color values

HEX#96A22C
RGBrgb(150, 162, 44)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(7.4%, 0%, 72.8%, 36.5%)
CIE-LABlab(63.76, -19.41, 56.31)
CIE-LCHlch(63.76, 59.56, 109.02°)
OKLaboklab(68.09% -0.0589 0.1249)
OKLCHoklch(68.09% 0.138 115.2)
XYZxyz(25.9533, 32.5070, 7.2897)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22C #382CA2
analogous
#A2732C #96A22C #5BA22C
triadic
#96A22C #2C96A2 #A22C96
tetradic
#96A22C #2CA273 #382CA2 #A22C5B
square
#96A22C #2CA273 #382CA2 #A22C5B
split-complementary
#96A22C #2C5BA2 #732CA2
monochromatic
#3D4212 #69721F #96A22C #BDCB40 #CED870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A22C#FFFFFF#000000##000000
##96A22C1.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)
#AE9A16
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#A0988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22c;
/* rgb */ color: rgb(150, 162, 44);
/* oklch */ color: oklch(68.1% 0.138 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd6e',
    500: '#96a22c',
    950: '#000000',
  },
}
SCSS
$custom: #96a22c;
$custom-light: #b8bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22c",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 66.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68093,
    "c": 0.13809,
    "h": 115.2
  },
  "luminance": 0.32507
}

Semantic roles & 50–950 ramp

primary
#96A22C
secondary
#736ABF
accent
#47E157
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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