#8D971D#8D971D

#8D971D 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#8D971D
RGBrgb(141, 151, 29)
HSLhsl(65, 68%, 35%)
HSVhsv(65, 81%, 59%)
CMYKcmyk(6.6%, 0%, 80.8%, 40.8%)
CIE-LABlab(59.78, -18.40, 57.31)
CIE-LCHlch(59.78, 60.19, 107.80°)
OKLaboklab(64.7% -0.0568 0.1247)
OKLCHoklch(64.7% 0.137 114.5)
XYZxyz(22.2736, 27.8851, 5.3712)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D971D #271D97
analogous
#97641D #8D971D #50971D
triadic
#8D971D #1D8D97 #971D8D
tetradic
#8D971D #1D9764 #271D97 #971D50
square
#8D971D #1D9764 #271D97 #971D50
split-complementary
#8D971D #1D5097 #641D97
monochromatic
#2D3009 #5D6413 #8D971D #BDCA27 #D2DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D971D#FFFFFF#000000##000000
##8D971D1.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)
#A38F00
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d971d;
/* rgb */ color: rgb(141, 151, 29);
/* oklch */ color: oklch(64.7% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b565',
    500: '#8d971d',
    950: '#000000',
  },
}
SCSS
$custom: #8d971d;
$custom-light: #b2b565;
$custom-dark: #000000;
JSON
{
  "hex": "#8d971d",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 64.918,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64703,
    "c": 0.13702,
    "h": 114.5
  },
  "luminance": 0.27885
}

Semantic roles & 50–950 ramp

primary
#8D971D
secondary
#594FC0
accent
#3DEB4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D971D

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

Preview Lab → · Contrast checker → · Palette generator →

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