#96A142#96A142

#96A142 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.120 H 115.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#96A142
RGBrgb(150, 161, 66)
HSLhsl(67, 42%, 45%)
HSVhsv(67, 59%, 63%)
CMYKcmyk(6.8%, 0%, 59%, 36.9%)
CIE-LABlab(63.65, -17.45, 47.04)
CIE-LCHlch(63.65, 50.17, 110.36°)
OKLaboklab(68.06% -0.0511 0.1087)
OKLCHoklch(68.06% 0.12 115.2)
XYZxyz(26.3064, 32.3675, 10.0149)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A142 #4D42A1
analogous
#A17C42 #96A142 #67A142
triadic
#96A142 #4296A1 #A14296
tetradic
#96A142 #42A17C #4D42A1 #A14267
square
#96A142 #42A17C #4D42A1 #A14267
split-complementary
#96A142 #4267A1 #7C42A1
monochromatic
#454A1E #6E7630 #96A142 #B4BF62 #C9D08D

Accessibility & contrast

On white

2.81
#96A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#96A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A142
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A142#FFFFFF#000000##000000
##96A1421.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9938
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#9F988D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a142;
/* rgb */ color: rgb(150, 161, 66);
/* oklch */ color: oklch(68.1% 0.120 115.2);
Tailwind
colors: {
  custom: {
    50: '#b7bc7a',
    500: '#96a142',
    950: '#000000',
  },
}
SCSS
$custom: #96a142;
$custom-light: #b7bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a142",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 66.947,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.12014,
    "h": 115.2
  },
  "luminance": 0.32367
}

Semantic roles & 50–950 ramp

primary
#96A142
secondary
#8A83BB
accent
#56D264
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #96A142

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

Preview Lab → · Contrast checker → · Palette generator →

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