#97971D#97971D

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

Color values

HEX#97971D
RGBrgb(151, 151, 29)
HSLhsl(60, 68%, 35%)
HSVhsv(60, 81%, 59%)
CMYKcmyk(0%, 0%, 80.8%, 40.8%)
CIE-LABlab(60.61, -13.94, 58.35)
CIE-LCHlch(60.61, 60.00, 103.44°)
OKLaboklab(65.56% -0.045 0.1265)
OKLCHoklch(65.56% 0.134 109.6)
XYZxyz(24.0518, 28.8020, 5.4545)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97971D #1D1D97
analogous
#975A1D #97971D #5A971D
triadic
#97971D #1D9797 #971D97
tetradic
#97971D #1D975A #1D1D97 #971D5A
square
#97971D #1D975A #1D1D97 #971D5A
split-complementary
#97971D #1D5A97 #5A1D97
monochromatic
#303009 #646413 #97971D #CACA27 #DEDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97971D#FFFFFF#000000##000000
##97971D1.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)
#A49000
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #97971d;
/* rgb */ color: rgb(151, 151, 29);
/* oklch */ color: oklch(65.6% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b565',
    500: '#97971d',
    950: '#000000',
  },
}
SCSS
$custom: #97971d;
$custom-light: #b9b565;
$custom-dark: #000000;
JSON
{
  "hex": "#97971d",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65563,
    "c": 0.13425,
    "h": 109.6
  },
  "luminance": 0.28801
}

Semantic roles & 50–950 ramp

primary
#97971D
secondary
#4F4FC0
accent
#3DEB3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97971D

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

Preview Lab → · Contrast checker → · Palette generator →

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