#96A61D#96A61D

#96A61D is a light, vivid yellow. Relative luminance 0.338; OKLCH L 68.9% C 0.150 H 116.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#96A61D
RGBrgb(150, 166, 29)
HSLhsl(67, 70%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(9.6%, 0%, 82.5%, 34.9%)
CIE-LABlab(64.84, -22.07, 62.01)
CIE-LCHlch(64.84, 65.82, 109.59°)
OKLaboklab(68.94% -0.0674 0.1344)
OKLCHoklch(68.94% 0.15 116.6)
XYZxyz(26.4364, 33.8455, 6.3024)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A61D #2D1DA6
analogous
#A6711D #96A61D #52A61D
triadic
#96A61D #1D96A6 #A61D96
tetradic
#96A61D #1DA671 #2D1DA6 #A61D52
square
#96A61D #1DA671 #2D1DA6 #A61D52
split-complementary
#96A61D #1D52A6 #711DA6
monochromatic
#383E0B #677214 #96A61D #C4D927 #D3E25B

Accessibility & contrast

On white

2.70
#96A61D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#96A61D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A61D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A61D#FFFFFF#000000##000000
##96A61D1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a61d;
/* rgb */ color: rgb(150, 166, 29);
/* oklch */ color: oklch(68.9% 0.150 116.6);
Tailwind
colors: {
  custom: {
    50: '#b9c068',
    500: '#96a61d',
    950: '#000000',
  },
}
SCSS
$custom: #96a61d;
$custom-light: #b9c068;
$custom-dark: #000000;
JSON
{
  "hex": "#96a61d",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 29
  },
  "hsl": {
    "h": 67.007,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.15035,
    "h": 116.6
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#96A61D
secondary
#6559C6
accent
#3BED50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A61D

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

Preview Lab → · Contrast checker → · Palette generator →

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