#96A22E#96A22E

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

Color values

HEX#96A22E
RGBrgb(150, 162, 46)
HSLhsl(66, 56%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(7.4%, 0%, 71.6%, 36.5%)
CIE-LABlab(63.77, -19.31, 55.58)
CIE-LCHlch(63.77, 58.84, 109.15°)
OKLaboklab(68.11% -0.0584 0.1237)
OKLCHoklch(68.11% 0.137 115.3)
XYZxyz(25.9918, 32.5224, 7.4925)
Luminance0.3252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22E #3A2EA2
analogous
#A2742E #96A22E #5CA22E
triadic
#96A22E #2E96A2 #A22E96
tetradic
#96A22E #2EA274 #3A2EA2 #A22E5C
square
#96A22E #2EA274 #3A2EA2 #A22E5C
split-complementary
#96A22E #2E5CA2 #742EA2
monochromatic
#3E4313 #6A7220 #96A22E #BCCA43 #CDD773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A22E#FFFFFF#000000##000000
##96A22E1.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)
#AE9A1A
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#A0998B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22e;
/* rgb */ color: rgb(150, 162, 46);
/* oklch */ color: oklch(68.1% 0.137 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8bd6f',
    500: '#96a22e',
    950: '#000000',
  },
}
SCSS
$custom: #96a22e;
$custom-light: #b8bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22e",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 66.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.13682,
    "h": 115.3
  },
  "luminance": 0.32522
}

Semantic roles & 50–950 ramp

primary
#96A22E
secondary
#756DBF
accent
#49DF58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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