#96972D#96972D

#96972D is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.125 H 109.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#96972D
RGBrgb(150, 151, 45)
HSLhsl(61, 54%, 38%)
HSVhsv(61, 70%, 59%)
CMYKcmyk(0.7%, 0%, 70.2%, 40.8%)
CIE-LABlab(60.61, -13.67, 52.85)
CIE-LCHlch(60.61, 54.59, 104.50°)
OKLaboklab(65.57% -0.0428 0.1178)
OKLCHoklch(65.57% 0.125 109.9)
XYZxyz(24.1188, 28.8074, 6.7720)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96972D #2E2D97
analogous
#97632D #96972D #61972D
triadic
#96972D #2D9697 #972D96
tetradic
#96972D #2D9763 #2E2D97 #972D61
square
#96972D #2D9763 #2E2D97 #972D61
split-complementary
#96972D #2D6197 #632D97
monochromatic
#383911 #67681F #96972D #C4C53C #D2D36B

Accessibility & contrast

On white

3.11
#96972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#96972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96972D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96972D#FFFFFF#000000##000000
##96972D1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#A18D82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #96972d;
/* rgb */ color: rgb(150, 151, 45);
/* oklch */ color: oklch(65.6% 0.125 109.9);
Tailwind
colors: {
  custom: {
    50: '#b8b56d',
    500: '#96972d',
    950: '#000000',
  },
}
SCSS
$custom: #96972d;
$custom-light: #b8b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#96972d",
  "rgb": {
    "r": 150,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 60.566,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65574,
    "c": 0.12533,
    "h": 109.9
  },
  "luminance": 0.28807
}

Semantic roles & 50–950 ramp

primary
#96972D
secondary
#6766BA
accent
#4ADD4C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #96972D

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

Preview Lab → · Contrast checker → · Palette generator →

#96972D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva