#8D7916#8D7916

#8D7916 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.112 H 96.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D7916
RGBrgb(141, 121, 22)
HSLhsl(50, 73%, 32%)
HSVhsv(50, 84%, 55%)
CMYKcmyk(0%, 14.2%, 84.4%, 44.7%)
CIE-LABlab(51.15, -2.47, 51.84)
CIE-LCHlch(51.15, 51.90, 92.73°)
OKLaboklab(57.81% -0.013 0.1115)
OKLCHoklch(57.81% 0.112 96.6)
XYZxyz(17.9677, 19.3964, 3.5564)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7916 #162A8D
analogous
#8D3E16 #8D7916 #668D16
triadic
#8D7916 #168D79 #79168D
tetradic
#8D7916 #168D3E #162A8D #8D1666
square
#8D7916 #168D3E #162A8D #8D1666
split-complementary
#8D7916 #16668D #3E168D
monochromatic
#231E05 #584C0E #8D7916 #C2A61E #E1C53D

Accessibility & contrast

On white

4.30
#8D7916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7916
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7916#FFFFFF#000000##000000
##8D79161.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#996F67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7916;
/* rgb */ color: rgb(141, 121, 22);
/* oklch */ color: oklch(57.8% 0.112 96.6);
Tailwind
colors: {
  custom: {
    50: '#b29f5e',
    500: '#8d7916',
    950: '#000000',
  },
}
SCSS
$custom: #8d7916;
$custom-light: #b29f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7916",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 49.916,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.11225,
    "h": 96.6
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#8D7916
secondary
#3E54C1
accent
#57F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7916

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

Preview Lab → · Contrast checker → · Palette generator →

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