#96AA2F#96AA2F

#96AA2F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.145 H 118.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#96AA2F
RGBrgb(150, 170, 47)
HSLhsl(70, 57%, 43%)
HSVhsv(70, 72%, 67%)
CMYKcmyk(11.8%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.09, -23.27, 57.48)
CIE-LCHlch(66.09, 62.01, 112.04°)
OKLaboklab(69.97% -0.0693 0.1279)
OKLCHoklch(69.97% 0.145 118.4)
XYZxyz(27.4661, 35.4389, 8.0823)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA2F #432FAA
analogous
#AA802F #96AA2F #59AA2F
triadic
#96AA2F #2F96AA #AA2F96
tetradic
#96AA2F #2FAA80 #432FAA #AA2F59
square
#96AA2F #2FAA80 #432FAA #AA2F59
split-complementary
#96AA2F #2F59AA #802FAA
monochromatic
#414A14 #6C7A22 #96AA2F #B7CD49 #CADA79

Accessibility & contrast

On white

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

On black

8.09
#96AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA2F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA2F#FFFFFF#000000##000000
##96AA2F1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#9FA192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96aa2f;
/* rgb */ color: rgb(150, 170, 47);
/* oklch */ color: oklch(70.0% 0.145 118.4);
Tailwind
colors: {
  custom: {
    50: '#b8c370',
    500: '#96aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #96aa2f;
$custom-light: #b8c370;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa2f",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 69.756,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.14546,
    "h": 118.4
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

primary
#96AA2F
secondary
#7F72C2
accent
#48E061
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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