#96A22A#96A22A

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

Color values

HEX#96A22A
RGBrgb(150, 162, 42)
HSLhsl(66, 59%, 40%)
HSVhsv(66, 74%, 64%)
CMYKcmyk(7.4%, 0%, 74.1%, 36.5%)
CIE-LABlab(63.75, -19.51, 57.01)
CIE-LCHlch(63.75, 60.26, 108.89°)
OKLaboklab(68.08% -0.0593 0.1261)
OKLCHoklch(68.08% 0.139 115.2)
XYZxyz(25.9166, 32.4923, 7.0964)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22A #362AA2
analogous
#A2722A #96A22A #5AA22A
triadic
#96A22A #2A96A2 #A22A96
tetradic
#96A22A #2AA272 #362AA2 #A22A5A
square
#96A22A #2AA272 #362AA2 #A22A5A
split-complementary
#96A22A #2A5AA2 #722AA2
monochromatic
#3C4111 #69711D #96A22A #BECD3D #CED96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A22A#FFFFFF#000000##000000
##96A22A1.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)
#AE9A11
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#A0988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22a;
/* rgb */ color: rgb(150, 162, 42);
/* oklch */ color: oklch(68.1% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd6d',
    500: '#96a22a',
    950: '#000000',
  },
}
SCSS
$custom: #96a22a;
$custom-light: #b8bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22a",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.68079,
    "c": 0.13932,
    "h": 115.2
  },
  "luminance": 0.32492
}

Semantic roles & 50–950 ramp

primary
#96A22A
secondary
#7168C0
accent
#46E255
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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