#96AA2C#96AA2C

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

Color values

HEX#96AA2C
RGBrgb(150, 170, 44)
HSLhsl(70, 59%, 42%)
HSVhsv(70, 74%, 67%)
CMYKcmyk(11.8%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.07, -23.42, 58.53)
CIE-LCHlch(66.07, 63.04, 111.81°)
OKLaboklab(69.95% -0.07 0.1296)
OKLCHoklch(69.95% 0.147 118.4)
XYZxyz(27.4076, 35.4156, 7.7744)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA2C #402CAA
analogous
#AA7F2C #96AA2C #57AA2C
triadic
#96AA2C #2C96AA #AA2C96
tetradic
#96AA2C #2CAA7F #402CAA #AA2C57
square
#96AA2C #2CAA7F #402CAA #AA2C57
split-complementary
#96AA2C #2C57AA #7F2CAA
monochromatic
#404913 #6B791F #96AA2C #B9CF44 #CBDB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96AA2C#FFFFFF#000000##000000
##96AA2C1.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)
#B5A012
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#9FA192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96aa2c;
/* rgb */ color: rgb(150, 170, 44);
/* oklch */ color: oklch(70.0% 0.147 118.4);
Tailwind
colors: {
  custom: {
    50: '#b8c36f',
    500: '#96aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #96aa2c;
$custom-light: #b8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa2c",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 69.524,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.14729,
    "h": 118.4
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

primary
#96AA2C
secondary
#7C6FC3
accent
#46E25F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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