#97971A#97971A

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

Color values

HEX#97971A
RGBrgb(151, 151, 26)
HSLhsl(60, 71%, 35%)
HSVhsv(60, 83%, 59%)
CMYKcmyk(0%, 0%, 82.8%, 40.8%)
CIE-LABlab(60.59, -14.04, 59.18)
CIE-LCHlch(60.59, 60.82, 103.35°)
OKLaboklab(65.55% -0.0455 0.1277)
OKLCHoklch(65.55% 0.136 109.6)
XYZxyz(24.0165, 28.7879, 5.2686)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97971A #1A1A97
analogous
#97591A #97971A #59971A
triadic
#97971A #1A9797 #971A97
tetradic
#97971A #1A9759 #1A1A97 #971A59
square
#97971A #1A9759 #1A1A97 #971A59
split-complementary
#97971A #1A5997 #591A97
monochromatic
#2F2F08 #636311 #97971A #CBCB23 #E0E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97971a;
/* rgb */ color: rgb(151, 151, 26);
/* oklch */ color: oklch(65.5% 0.136 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b564',
    500: '#97971a',
    950: '#000000',
  },
}
SCSS
$custom: #97971a;
$custom-light: #b9b564;
$custom-dark: #000000;
JSON
{
  "hex": "#97971a",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65549,
    "c": 0.13557,
    "h": 109.6
  },
  "luminance": 0.28787
}

Semantic roles & 50–950 ramp

primary
#97971A
secondary
#4B4BC2
accent
#3AED3A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97971A

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

Preview Lab → · Contrast checker → · Palette generator →

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