#96A23A#96A23A

#96A23A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.128 H 115.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#96A23A
RGBrgb(150, 162, 58)
HSLhsl(67, 47%, 43%)
HSVhsv(67, 64%, 64%)
CMYKcmyk(7.4%, 0%, 64.2%, 36.5%)
CIE-LABlab(63.86, -18.56, 50.84)
CIE-LCHlch(63.86, 54.12, 110.06°)
OKLaboklab(68.21% -0.0551 0.1157)
OKLCHoklch(68.21% 0.128 115.5)
XYZxyz(26.2623, 32.6306, 8.9170)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A23A #463AA2
analogous
#A27A3A #96A23A #62A23A
triadic
#96A23A #3A96A2 #A23A96
tetradic
#96A23A #3AA27A #463AA2 #A23A62
square
#96A23A #3AA27A #463AA2 #A23A62
split-complementary
#96A23A #3A62A2 #7A3AA2
monochromatic
#43481A #6C752A #96A23A #B6C357 #CAD384

Accessibility & contrast

On white

2.79
#96A23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#96A23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A23A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A23A#FFFFFF#000000##000000
##96A23A1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2D
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#9F998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a23a;
/* rgb */ color: rgb(150, 162, 58);
/* oklch */ color: oklch(68.2% 0.128 115.5);
Tailwind
colors: {
  custom: {
    50: '#b7bd75',
    500: '#96a23a',
    950: '#000000',
  },
}
SCSS
$custom: #96a23a;
$custom-light: #b7bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#96a23a",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 66.923,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68206,
    "c": 0.12812,
    "h": 115.5
  },
  "luminance": 0.3263
}

Semantic roles & 50–950 ramp

primary
#96A23A
secondary
#837BBD
accent
#51D760
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #96A23A

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

Preview Lab → · Contrast checker → · Palette generator →

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