#96AA2B#96AA2B

#96AA2B 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#96AA2B
RGBrgb(150, 170, 43)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.8%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.07, -23.47, 58.87)
CIE-LCHlch(66.07, 63.38, 111.74°)
OKLaboklab(69.94% -0.0702 0.1301)
OKLCHoklch(69.94% 0.148 118.3)
XYZxyz(27.3891, 35.4081, 7.6766)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA2B #3F2BAA
analogous
#AA7F2B #96AA2B #57AA2B
triadic
#96AA2B #2B96AA #AA2B96
tetradic
#96AA2B #2BAA7F #3F2BAA #AA2B57
square
#96AA2B #2BAA7F #3F2BAA #AA2B57
split-complementary
#96AA2B #2B57AA #7F2BAA
monochromatic
#404812 #6B791F #96AA2B #B9CF43 #CBDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AA2B#FFFFFF#000000##000000
##96AA2B1.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)
#B5A00F
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#9FA092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96aa2b;
/* rgb */ color: rgb(150, 170, 43);
/* oklch */ color: oklch(69.9% 0.148 118.3);
Tailwind
colors: {
  custom: {
    50: '#b8c36e',
    500: '#96aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #96aa2b;
$custom-light: #b8c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa2b",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 69.449,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69943,
    "c": 0.14788,
    "h": 118.3
  },
  "luminance": 0.35408
}

Semantic roles & 50–950 ramp

primary
#96AA2B
secondary
#7B6EC3
accent
#45E35E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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