#8D971E#8D971E

#8D971E is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.137 H 114.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D971E
RGBrgb(141, 151, 30)
HSLhsl(65, 67%, 35%)
HSVhsv(65, 80%, 59%)
CMYKcmyk(6.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(59.79, -18.36, 57.02)
CIE-LCHlch(59.79, 59.90, 107.85°)
OKLaboklab(64.71% -0.0566 0.1242)
OKLCHoklch(64.71% 0.137 114.5)
XYZxyz(22.2861, 27.8901, 5.4374)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D971E #281E97
analogous
#97651E #8D971E #50971E
triadic
#8D971E #1E8D97 #971E8D
tetradic
#8D971E #1E9765 #281E97 #971E50
square
#8D971E #1E9765 #281E97 #971E50
split-complementary
#8D971E #1E5097 #651E97
monochromatic
#2E310A #5D6414 #8D971E #BDCA28 #D1DD53

Accessibility & contrast

On white

3.19
#8D971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8D971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D971E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D971E#FFFFFF#000000##000000
##8D971E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d971e;
/* rgb */ color: rgb(141, 151, 30);
/* oklch */ color: oklch(64.7% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b566',
    500: '#8d971e',
    950: '#000000',
  },
}
SCSS
$custom: #8d971e;
$custom-light: #b2b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8d971e",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 64.959,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.13654,
    "h": 114.5
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#8D971E
secondary
#5A51C0
accent
#3EEA4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D971E

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

Preview Lab → · Contrast checker → · Palette generator →

#8D971E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva