#97971E#97971E

#97971E 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#97971E
RGBrgb(151, 151, 30)
HSLhsl(60, 67%, 35%)
HSVhsv(60, 80%, 59%)
CMYKcmyk(0%, 0%, 80.1%, 40.8%)
CIE-LABlab(60.61, -13.91, 58.06)
CIE-LCHlch(60.61, 59.71, 103.47°)
OKLaboklab(65.57% -0.0448 0.1261)
OKLCHoklch(65.57% 0.134 109.6)
XYZxyz(24.0644, 28.8070, 5.5207)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97971E #1E1E97
analogous
#975A1E #97971E #5A971E
triadic
#97971E #1E9797 #971E97
tetradic
#97971E #1E975A #1E1E97 #971E5A
square
#97971E #1E975A #1E1E97 #971E5A
split-complementary
#97971E #1E5A97 #5A1E97
monochromatic
#31310A #646414 #97971E #CACA28 #DDDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97971E#FFFFFF#000000##000000
##97971E1.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)
#A59429
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #97971e;
/* rgb */ color: rgb(151, 151, 30);
/* oklch */ color: oklch(65.6% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b566',
    500: '#97971e',
    950: '#000000',
  },
}
SCSS
$custom: #97971e;
$custom-light: #b9b566;
$custom-dark: #000000;
JSON
{
  "hex": "#97971e",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65567,
    "c": 0.13379,
    "h": 109.6
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#97971E
secondary
#5151C0
accent
#3EEA3E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97971E

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

Preview Lab → · Contrast checker → · Palette generator →

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