#96AB2A#96AB2A

#96AB2A is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.150 H 118.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#96AB2A
RGBrgb(150, 171, 42)
HSLhsl(70, 61%, 42%)
HSVhsv(70, 75%, 67%)
CMYKcmyk(12.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.35, -24.02, 59.48)
CIE-LCHlch(66.35, 64.14, 111.99°)
OKLaboklab(70.17% -0.0718 0.1313)
OKLCHoklch(70.17% 0.15 118.7)
XYZxyz(27.5591, 35.7772, 7.6439)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AB2A #3F2AAB
analogous
#AB7F2A #96AB2A #56AB2A
triadic
#96AB2A #2A96AB #AB2A96
tetradic
#96AB2A #2AAB7F #3F2AAB #AB2A56
square
#96AB2A #2AAB7F #3F2AAB #AB2A56
split-complementary
#96AB2A #2A56AB #7F2AAB
monochromatic
#404912 #6B7A1E #96AB2A #B9D142 #CBDD73

Accessibility & contrast

On white

2.57
#96AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#96AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AB2A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AB2A#FFFFFF#000000##000000
##96AB2A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#9FA193
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96ab2a;
/* rgb */ color: rgb(150, 171, 42);
/* oklch */ color: oklch(70.2% 0.150 118.7);
Tailwind
colors: {
  custom: {
    50: '#b8c46e',
    500: '#96ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #96ab2a;
$custom-light: #b8c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#96ab2a",
  "rgb": {
    "r": 150,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 69.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7017,
    "c": 0.1496,
    "h": 118.7
  },
  "luminance": 0.35777
}

Semantic roles & 50–950 ramp

primary
#96AB2A
secondary
#7B6DC4
accent
#44E45E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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