#97971F#97971F

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

Color values

HEX#97971F
RGBrgb(151, 151, 31)
HSLhsl(60, 66%, 36%)
HSVhsv(60, 79%, 59%)
CMYKcmyk(0%, 0%, 79.5%, 40.8%)
CIE-LABlab(60.62, -13.87, 57.77)
CIE-LCHlch(60.62, 59.41, 103.50°)
OKLaboklab(65.57% -0.0447 0.1256)
OKLCHoklch(65.57% 0.133 109.6)
XYZxyz(24.0773, 28.8122, 5.5891)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97971F #1F1F97
analogous
#975B1F #97971F #5B971F
triadic
#97971F #1F9797 #971F97
tetradic
#97971F #1F975B #1F1F97 #971F5B
square
#97971F #1F975B #1F1F97 #971F5B
split-complementary
#97971F #1F5B97 #5B1F97
monochromatic
#31310A #646415 #97971F #CACA29 #DCDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97971f;
/* rgb */ color: rgb(151, 151, 31);
/* oklch */ color: oklch(65.6% 0.133 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b566',
    500: '#97971f',
    950: '#000000',
  },
}
SCSS
$custom: #97971f;
$custom-light: #b9b566;
$custom-dark: #000000;
JSON
{
  "hex": "#97971f",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65573,
    "c": 0.1333,
    "h": 109.6
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#97971F
secondary
#5252BF
accent
#3FE93F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97971F

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

Preview Lab → · Contrast checker → · Palette generator →

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