#96A040#96A040

#96A040 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.121 H 114.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#96A040
RGBrgb(150, 160, 64)
HSLhsl(66, 43%, 44%)
HSVhsv(66, 60%, 63%)
CMYKcmyk(6.2%, 0%, 60%, 37.3%)
CIE-LABlab(63.34, -17.10, 47.62)
CIE-LCHlch(63.34, 50.59, 109.75°)
OKLaboklab(67.81% -0.0503 0.1097)
OKLCHoklch(67.81% 0.121 114.7)
XYZxyz(26.0745, 31.9962, 9.6518)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A040 #4A40A0
analogous
#A07A40 #96A040 #66A040
triadic
#96A040 #4096A0 #A04096
tetradic
#96A040 #40A07A #4A40A0 #A04066
square
#96A040 #40A07A #4A40A0 #A04066
split-complementary
#96A040 #4066A0 #7A40A0
monochromatic
#44491D #6D742F #96A040 #B5BF5E #C9D08A

Accessibility & contrast

On white

2.84
#96A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#96A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A040
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A040#FFFFFF#000000##000000
##96A0401.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#9F978B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a040;
/* rgb */ color: rgb(150, 160, 64);
/* oklch */ color: oklch(67.8% 0.121 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bc79',
    500: '#96a040',
    950: '#000000',
  },
}
SCSS
$custom: #96a040;
$custom-light: #b7bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#96a040",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 66.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67806,
    "c": 0.12068,
    "h": 114.7
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#96A040
secondary
#8781BB
accent
#55D362
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #96A040

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

Preview Lab → · Contrast checker → · Palette generator →

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