#96971A#96971A

#96971A is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.136 H 110.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#96971A
RGBrgb(150, 151, 26)
HSLhsl(60, 71%, 35%)
HSVhsv(60, 83%, 59%)
CMYKcmyk(0.7%, 0%, 82.8%, 40.8%)
CIE-LABlab(60.51, -14.49, 59.07)
CIE-LCHlch(60.51, 60.82, 103.78°)
OKLaboklab(65.46% -0.0467 0.1275)
OKLCHoklch(65.46% 0.136 110.1)
XYZxyz(23.8317, 28.6925, 5.2599)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96971A #1B1A97
analogous
#975A1A #96971A #58971A
triadic
#96971A #1A9697 #971A96
tetradic
#96971A #1A975A #1B1A97 #971A58
square
#96971A #1A975A #1B1A97 #971A58
split-complementary
#96971A #1A5897 #5A1A97
monochromatic
#2E2F08 #626311 #96971A #CACB23 #DFE04B

Accessibility & contrast

On white

3.12
#96971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#96971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96971A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96971A#FFFFFF#000000##000000
##96971A1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A59426
Tritanopia (blue-blind)
#A18D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #96971a;
/* rgb */ color: rgb(150, 151, 26);
/* oklch */ color: oklch(65.5% 0.136 110.1);
Tailwind
colors: {
  custom: {
    50: '#b9b564',
    500: '#96971a',
    950: '#000000',
  },
}
SCSS
$custom: #96971a;
$custom-light: #b9b564;
$custom-dark: #000000;
JSON
{
  "hex": "#96971a",
  "rgb": {
    "r": 150,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 60.48,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6546,
    "c": 0.13581,
    "h": 110.1
  },
  "luminance": 0.28692
}

Semantic roles & 50–950 ramp

primary
#96971A
secondary
#4C4BC2
accent
#3AED3C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96971A

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

Preview Lab → · Contrast checker → · Palette generator →

#96971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva