#96A342#96A342

#96A342 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.123 H 116.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#96A342
RGBrgb(150, 163, 66)
HSLhsl(68, 42%, 45%)
HSVhsv(68, 60%, 64%)
CMYKcmyk(8%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.22, -18.48, 47.68)
CIE-LCHlch(64.22, 51.13, 111.19°)
OKLaboklab(68.52% -0.054 0.1101)
OKLCHoklch(68.52% 0.123 116.1)
XYZxyz(26.6587, 33.0721, 10.1324)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A342 #4F42A3
analogous
#A37F42 #96A342 #66A342
triadic
#96A342 #4296A3 #A34296
tetradic
#96A342 #42A37F #4F42A3 #A34266
square
#96A342 #42A37F #4F42A3 #A34266
split-complementary
#96A342 #4266A3 #7F42A3
monochromatic
#464C1F #6E7730 #96A342 #B3C063 #C8D18E

Accessibility & contrast

On white

2.76
#96A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#96A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A342
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A342#FFFFFF#000000##000000
##96A3421.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#9F9A8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a342;
/* rgb */ color: rgb(150, 163, 66);
/* oklch */ color: oklch(68.5% 0.123 116.1);
Tailwind
colors: {
  custom: {
    50: '#b7be7a',
    500: '#96a342',
    950: '#000000',
  },
}
SCSS
$custom: #96a342;
$custom-light: #b7be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a342",
  "rgb": {
    "r": 150,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 68.041,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.1226,
    "h": 116.1
  },
  "luminance": 0.33072
}

Semantic roles & 50–950 ramp

primary
#96A342
secondary
#8C84BC
accent
#56D266
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #96A342

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

Preview Lab → · Contrast checker → · Palette generator →

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