#96A72F#96A72F

#96A72F is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.142 H 117.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#96A72F
RGBrgb(150, 167, 47)
HSLhsl(69, 56%, 42%)
HSVhsv(69, 72%, 65%)
CMYKcmyk(10.2%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.22, -21.77, 56.63)
CIE-LCHlch(65.22, 60.67, 111.03°)
OKLaboklab(69.27% -0.0651 0.1261)
OKLCHoklch(69.27% 0.142 117.3)
XYZxyz(26.9101, 34.3270, 7.8969)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A72F #402FA7
analogous
#A77C2F #96A72F #5AA72F
triadic
#96A72F #2F96A7 #A72F96
tetradic
#96A72F #2FA77C #402FA7 #A72F5A
square
#96A72F #2FA77C #402FA7 #A72F5A
split-complementary
#96A72F #2F5AA7 #7C2FA7
monochromatic
#404714 #6B7722 #96A72F #B9CB48 #CBD978

Accessibility & contrast

On white

2.67
#96A72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#96A72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A72F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A72F#FFFFFF#000000##000000
##96A72F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#9F9E90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a72f;
/* rgb */ color: rgb(150, 167, 47);
/* oklch */ color: oklch(69.3% 0.142 117.3);
Tailwind
colors: {
  custom: {
    50: '#b8c170',
    500: '#96a72f',
    950: '#000000',
  },
}
SCSS
$custom: #96a72f;
$custom-light: #b8c170;
$custom-dark: #000000;
JSON
{
  "hex": "#96a72f",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 68.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.14194,
    "h": 117.3
  },
  "luminance": 0.34327
}

Semantic roles & 50–950 ramp

primary
#96A72F
secondary
#7C71C1
accent
#48DF5E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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