#96A71D#96A71D

#96A71D is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.151 H 117.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#96A71D
RGBrgb(150, 167, 29)
HSLhsl(67, 70%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(10.2%, 0%, 82.6%, 34.5%)
CIE-LABlab(65.13, -22.57, 62.27)
CIE-LCHlch(65.13, 66.23, 109.92°)
OKLaboklab(69.17% -0.0688 0.1349)
OKLCHoklch(69.17% 0.151 117)
XYZxyz(26.6189, 34.2105, 6.3632)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A71D #2E1DA7
analogous
#A7731D #96A71D #51A71D
triadic
#96A71D #1D96A7 #A71D96
tetradic
#96A71D #1DA773 #2E1DA7 #A71D51
square
#96A71D #1DA773 #2E1DA7 #A71D51
split-complementary
#96A71D #1D51A7 #731DA7
monochromatic
#383F0B #677314 #96A71D #C4DA28 #D2E35C

Accessibility & contrast

On white

2.68
#96A71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#96A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A71D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A71D#FFFFFF#000000##000000
##96A71D1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F2C
Tritanopia (blue-blind)
#A09D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a71d;
/* rgb */ color: rgb(150, 167, 29);
/* oklch */ color: oklch(69.2% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c168',
    500: '#96a71d',
    950: '#000000',
  },
}
SCSS
$custom: #96a71d;
$custom-light: #b9c168;
$custom-dark: #000000;
JSON
{
  "hex": "#96a71d",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 67.391,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.15145,
    "h": 117
  },
  "luminance": 0.3421
}

Semantic roles & 50–950 ramp

primary
#96A71D
secondary
#6759C7
accent
#3BED51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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