#97971C#97971C

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

Color values

HEX#97971C
RGBrgb(151, 151, 28)
HSLhsl(60, 69%, 35%)
HSVhsv(60, 81%, 59%)
CMYKcmyk(0%, 0%, 81.5%, 40.8%)
CIE-LABlab(60.60, -13.98, 58.63)
CIE-LCHlch(60.60, 60.28, 103.41°)
OKLaboklab(65.56% -0.0452 0.1269)
OKLCHoklch(65.56% 0.135 109.6)
XYZxyz(24.0396, 28.7971, 5.3905)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97971C #1C1C97
analogous
#97591C #97971C #59971C
triadic
#97971C #1C9797 #971C97
tetradic
#97971C #1C9759 #1C1C97 #971C59
square
#97971C #1C9759 #1C1C97 #971C59
split-complementary
#97971C #1C5997 #591C97
monochromatic
#303009 #636312 #97971C #CBCB26 #DEDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97971C#FFFFFF#000000##000000
##97971C1.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: #97971c;
/* rgb */ color: rgb(151, 151, 28);
/* oklch */ color: oklch(65.6% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b565',
    500: '#97971c',
    950: '#000000',
  },
}
SCSS
$custom: #97971c;
$custom-light: #b9b565;
$custom-dark: #000000;
JSON
{
  "hex": "#97971c",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65558,
    "c": 0.13471,
    "h": 109.6
  },
  "luminance": 0.28796
}

Semantic roles & 50–950 ramp

primary
#97971C
secondary
#4E4EC1
accent
#3CEC3C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97971C

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

Preview Lab → · Contrast checker → · Palette generator →

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