#96A42E#96A42E

#96A42E is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.139 H 116.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#96A42E
RGBrgb(150, 164, 46)
HSLhsl(67, 56%, 41%)
HSVhsv(67, 72%, 64%)
CMYKcmyk(8.5%, 0%, 72%, 35.7%)
CIE-LABlab(64.35, -20.32, 56.15)
CIE-LCHlch(64.35, 59.71, 109.89°)
OKLaboklab(68.57% -0.0612 0.1249)
OKLCHoklch(68.57% 0.139 116.1)
XYZxyz(26.3469, 33.2326, 7.6108)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A42E #3C2EA4
analogous
#A4772E #96A42E #5BA42E
triadic
#96A42E #2E96A4 #A42E96
tetradic
#96A42E #2EA477 #3C2EA4 #A42E5B
square
#96A42E #2EA477 #3C2EA4 #A42E5B
split-complementary
#96A42E #2E5BA4 #772EA4
monochromatic
#3F4413 #6A7421 #96A42E #BBCB45 #CCD874

Accessibility & contrast

On white

2.75
#96A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#96A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A42E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A42E#FFFFFF#000000##000000
##96A42E1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B19
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a42e;
/* rgb */ color: rgb(150, 164, 46);
/* oklch */ color: oklch(68.6% 0.139 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8be6f',
    500: '#96a42e',
    950: '#000000',
  },
}
SCSS
$custom: #96a42e;
$custom-light: #b8be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a42e",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 67.119,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.13911,
    "h": 116.1
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

primary
#96A42E
secondary
#786EC0
accent
#48DF5A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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