#96971F#96971F

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

Color values

HEX#96971F
RGBrgb(150, 151, 31)
HSLhsl(61, 66%, 36%)
HSVhsv(61, 79%, 59%)
CMYKcmyk(0.7%, 0%, 79.5%, 40.8%)
CIE-LABlab(60.53, -14.32, 57.66)
CIE-LCHlch(60.53, 59.41, 103.95°)
OKLaboklab(65.48% -0.0458 0.1254)
OKLCHoklch(65.48% 0.134 110.1)
XYZxyz(23.8925, 28.7169, 5.5804)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96971F #201F97
analogous
#975C1F #96971F #5A971F
triadic
#96971F #1F9697 #971F96
tetradic
#96971F #1F975C #201F97 #971F5A
square
#96971F #1F975C #201F97 #971F5A
split-complementary
#96971F #1F5A97 #5C1F97
monochromatic
#31310A #646415 #96971F #C8CA29 #DBDC54

Accessibility & contrast

On white

3.11
#96971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96971F#FFFFFF#000000##000000
##96971F1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96971f;
/* rgb */ color: rgb(150, 151, 31);
/* oklch */ color: oklch(65.5% 0.134 110.1);
Tailwind
colors: {
  custom: {
    50: '#b8b566',
    500: '#96971f',
    950: '#000000',
  },
}
SCSS
$custom: #96971f;
$custom-light: #b8b566;
$custom-dark: #000000;
JSON
{
  "hex": "#96971f",
  "rgb": {
    "r": 150,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 60.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65484,
    "c": 0.13353,
    "h": 110.1
  },
  "luminance": 0.28716
}

Semantic roles & 50–950 ramp

primary
#96971F
secondary
#5352BF
accent
#3FE940
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96971F

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

Preview Lab → · Contrast checker → · Palette generator →

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