#97973F#97973F

#97973F is a light, moderate yellow. Relative luminance 0.291; OKLCH L 65.8% C 0.111 H 109.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#97973F
RGBrgb(151, 151, 63)
HSLhsl(60, 41%, 42%)
HSVhsv(60, 58%, 59%)
CMYKcmyk(0%, 0%, 58.3%, 40.8%)
CIE-LABlab(60.85, -12.04, 45.34)
CIE-LCHlch(60.85, 46.91, 104.87°)
OKLaboklab(65.83% -0.0362 0.1047)
OKLCHoklch(65.83% 0.111 109.1)
XYZxyz(24.7270, 29.0721, 9.0106)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97973F #3F3F97
analogous
#976B3F #97973F #6B973F
triadic
#97973F #3F9797 #973F97
tetradic
#97973F #3F976B #3F3F97 #973F6B
square
#97973F #3F976B #3F3F97 #973F6B
split-complementary
#97973F #3F6B97 #6B3F97
monochromatic
#41411B #6C6C2D #97973F #BABA59 #CCCC85

Accessibility & contrast

On white

3.08
#97973F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#97973F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97973F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97973F#FFFFFF#000000##000000
##97973F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29135
Deuteranopia (green-blind)
#A39444
Tritanopia (blue-blind)
#A18E84
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #97973f;
/* rgb */ color: rgb(151, 151, 63);
/* oklch */ color: oklch(65.8% 0.111 109.1);
Tailwind
colors: {
  custom: {
    50: '#b8b577',
    500: '#97973f',
    950: '#000000',
  },
}
SCSS
$custom: #97973f;
$custom-light: #b8b577;
$custom-dark: #000000;
JSON
{
  "hex": "#97973f",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.11076,
    "h": 109.1
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#97973F
secondary
#7C7CB6
accent
#57D157
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #97973F

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

Preview Lab → · Contrast checker → · Palette generator →

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