#8D7816#8D7816

#8D7816 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.112 H 95.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D7816
RGBrgb(141, 120, 22)
HSLhsl(49, 73%, 32%)
HSVhsv(49, 84%, 55%)
CMYKcmyk(0%, 14.9%, 84.4%, 44.7%)
CIE-LABlab(50.87, -1.91, 51.60)
CIE-LCHlch(50.87, 51.64, 92.12°)
OKLaboklab(57.58% -0.0114 0.111)
OKLCHoklch(57.58% 0.112 95.9)
XYZxyz(17.8468, 19.1546, 3.5161)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7816 #162B8D
analogous
#8D3D16 #8D7816 #678D16
triadic
#8D7816 #168D78 #78168D
tetradic
#8D7816 #168D3D #162B8D #8D1667
square
#8D7816 #168D3D #162B8D #8D1667
split-complementary
#8D7816 #16678D #3D168D
monochromatic
#231E05 #584B0E #8D7816 #C2A51E #E1C43D

Accessibility & contrast

On white

4.35
#8D7816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7816
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7816#FFFFFF#000000##000000
##8D78161.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#996E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7816;
/* rgb */ color: rgb(141, 120, 22);
/* oklch */ color: oklch(57.6% 0.112 95.9);
Tailwind
colors: {
  custom: {
    50: '#b29e5e',
    500: '#8d7816',
    950: '#000000',
  },
}
SCSS
$custom: #8d7816;
$custom-light: #b29e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7816",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 49.412,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.11155,
    "h": 95.9
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#8D7816
secondary
#3E55C1
accent
#59F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7816

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

Preview Lab → · Contrast checker → · Palette generator →

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