#96AA2A#96AA2A

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

Color values

HEX#96AA2A
RGBrgb(150, 170, 42)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.8%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.06, -23.52, 59.20)
CIE-LCHlch(66.06, 63.70, 111.67°)
OKLaboklab(69.94% -0.0704 0.1307)
OKLCHoklch(69.94% 0.148 118.3)
XYZxyz(27.3709, 35.4009, 7.5812)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA2A #3E2AAA
analogous
#AA7E2A #96AA2A #56AA2A
triadic
#96AA2A #2A96AA #AA2A96
tetradic
#96AA2A #2AAA7E #3E2AAA #AA2A56
square
#96AA2A #2AAA7E #3E2AAA #AA2A56
split-complementary
#96AA2A #2A56AA #7E2AAA
monochromatic
#3F4812 #6B791E #96AA2A #BAD041 #CCDC72

Accessibility & contrast

On white

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

On black

8.08
#96AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA2A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA2A#FFFFFF#000000##000000
##96AA2A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#9FA092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96aa2a;
/* rgb */ color: rgb(150, 170, 42);
/* oklch */ color: oklch(69.9% 0.148 118.3);
Tailwind
colors: {
  custom: {
    50: '#b8c36e',
    500: '#96aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #96aa2a;
$custom-light: #b8c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa2a",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 69.375,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69937,
    "c": 0.14845,
    "h": 118.3
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#96AA2A
secondary
#7A6CC3
accent
#44E45D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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