#96A222#96A222

#96A222 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.0% C 0.144 H 115.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#96A222
RGBrgb(150, 162, 34)
HSLhsl(66, 65%, 38%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.4%, 0%, 79%, 36.5%)
CIE-LABlab(63.71, -19.87, 59.59)
CIE-LCHlch(63.71, 62.82, 108.44°)
OKLaboklab(68.03% -0.061 0.1301)
OKLCHoklch(68.03% 0.144 115.1)
XYZxyz(25.7875, 32.4406, 6.4163)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A222 #2E22A2
analogous
#A26E22 #96A222 #56A222
triadic
#96A222 #2296A2 #A22296
tetradic
#96A222 #22A26E #2E22A2 #A22256
square
#96A222 #22A26E #2E22A2 #A22256
split-complementary
#96A222 #2256A2 #6E22A2
monochromatic
#383D0D #676F17 #96A222 #C4D32E #D2DE61

Accessibility & contrast

On white

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

On black

7.49
#96A222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A222
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A222#FFFFFF#000000##000000
##96A2221.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A0988A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a222;
/* rgb */ color: rgb(150, 162, 34);
/* oklch */ color: oklch(68.0% 0.144 115.1);
Tailwind
colors: {
  custom: {
    50: '#b8bd69',
    500: '#96a222',
    950: '#000000',
  },
}
SCSS
$custom: #96a222;
$custom-light: #b8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a222",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 65.625,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68032,
    "c": 0.14369,
    "h": 115.1
  },
  "luminance": 0.3244
}

Semantic roles & 50–950 ramp

primary
#96A222
secondary
#675DC3
accent
#40E84F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A222

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

Preview Lab → · Contrast checker → · Palette generator →

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