#96A22B#96A22B

#96A22B 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#96A22B
RGBrgb(150, 162, 43)
HSLhsl(66, 58%, 40%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(7.4%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.75, -19.46, 56.66)
CIE-LCHlch(63.75, 59.91, 108.96°)
OKLaboklab(68.09% -0.0591 0.1255)
OKLCHoklch(68.09% 0.139 115.2)
XYZxyz(25.9348, 32.4995, 7.1919)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22B #372BA2
analogous
#A2722B #96A22B #5BA22B
triadic
#96A22B #2B96A2 #A22B96
tetradic
#96A22B #2BA272 #372BA2 #A22B5B
square
#96A22B #2BA272 #372BA2 #A22B5B
split-complementary
#96A22B #2B5BA2 #722BA2
monochromatic
#3C4111 #69721E #96A22B #BECC3E #CED96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A22B#FFFFFF#000000##000000
##96A22B1.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)
#AE9A14
Deuteranopia (green-blind)
#AD9B35
Tritanopia (blue-blind)
#A0988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22b;
/* rgb */ color: rgb(150, 162, 43);
/* oklch */ color: oklch(68.1% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd6d',
    500: '#96a22b',
    950: '#000000',
  },
}
SCSS
$custom: #96a22b;
$custom-light: #b8bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22b",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 66.05,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68086,
    "c": 0.13872,
    "h": 115.2
  },
  "luminance": 0.32499
}

Semantic roles & 50–950 ramp

primary
#96A22B
secondary
#7269C0
accent
#47E156
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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