#96AA23#96AA23

#96AA23 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 69.9% C 0.152 H 118.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#96AA23
RGBrgb(150, 170, 35)
HSLhsl(69, 66%, 40%)
HSVhsv(69, 79%, 67%)
CMYKcmyk(11.8%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.02, -23.83, 61.38)
CIE-LCHlch(66.02, 65.85, 111.22°)
OKLaboklab(69.9% -0.0718 0.1341)
OKLCHoklch(69.9% 0.152 118.2)
XYZxyz(27.2564, 35.3551, 6.9781)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA23 #3723AA
analogous
#AA7B23 #96AA23 #52AA23
triadic
#96AA23 #2396AA #AA2396
tetradic
#96AA23 #23AA7B #3723AA #AA2352
square
#96AA23 #23AA7B #3723AA #AA2352
split-complementary
#96AA23 #2352AA #7B23AA
monochromatic
#3C440E #697719 #96AA23 #BED535 #CEE068

Accessibility & contrast

On white

2.60
#96AA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#96AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA23
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA23#FFFFFF#000000##000000
##96AA231.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#9FA091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96aa23;
/* rgb */ color: rgb(150, 170, 35);
/* oklch */ color: oklch(69.9% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c36b',
    500: '#96aa23',
    950: '#000000',
  },
}
SCSS
$custom: #96aa23;
$custom-light: #b9c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa23",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 68.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.15212,
    "h": 118.2
  },
  "luminance": 0.35355
}

Semantic roles & 50–950 ramp

primary
#96AA23
secondary
#7263C6
accent
#3FE958
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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