#96A71C#96A71C

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

Color values

HEX#96A71C
RGBrgb(150, 167, 28)
HSLhsl(67, 71%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(10.2%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.13, -22.60, 62.52)
CIE-LCHlch(65.13, 66.48, 109.87°)
OKLaboklab(69.16% -0.0689 0.1353)
OKLCHoklch(69.16% 0.152 117)
XYZxyz(26.6067, 34.2057, 6.2991)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A71C #2D1CA7
analogous
#A7721C #96A71C #50A71C
triadic
#96A71C #1C96A7 #A71C96
tetradic
#96A71C #1CA772 #2D1CA7 #A71C50
square
#96A71C #1CA772 #2D1CA7 #A71C50
split-complementary
#96A71C #1C50A7 #721CA7
monochromatic
#383E0A #677313 #96A71C #C4DB26 #D3E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A71C#FFFFFF#000000##000000
##96A71C1.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)
#B19F2B
Tritanopia (blue-blind)
#A09D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a71c;
/* rgb */ color: rgb(150, 167, 28);
/* oklch */ color: oklch(69.2% 0.152 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c167',
    500: '#96a71c',
    950: '#000000',
  },
}
SCSS
$custom: #96a71c;
$custom-light: #b9c167;
$custom-dark: #000000;
JSON
{
  "hex": "#96a71c",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 67.338,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.15186,
    "h": 117
  },
  "luminance": 0.34205
}

Semantic roles & 50–950 ramp

primary
#96A71C
secondary
#6558C7
accent
#3AEE50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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