#8D7A16#8D7A16

#8D7A16 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.113 H 97.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D7A16
RGBrgb(141, 122, 22)
HSLhsl(50, 73%, 32%)
HSVhsv(50, 84%, 55%)
CMYKcmyk(0%, 13.5%, 84.4%, 44.7%)
CIE-LABlab(51.43, -3.03, 52.08)
CIE-LCHlch(51.43, 52.17, 93.33°)
OKLaboklab(58.03% -0.0145 0.112)
OKLCHoklch(58.03% 0.113 97.4)
XYZxyz(18.0898, 19.6407, 3.5971)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A16 #16298D
analogous
#8D3F16 #8D7A16 #658D16
triadic
#8D7A16 #168D7A #7A168D
tetradic
#8D7A16 #168D3F #16298D #8D1665
square
#8D7A16 #168D3F #16298D #8D1665
split-complementary
#8D7A16 #16658D #3F168D
monochromatic
#231E05 #584C0E #8D7A16 #C2A81E #E1C73D

Accessibility & contrast

On white

4.26
#8D7A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A16
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A16#FFFFFF#000000##000000
##8D7A161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a16;
/* rgb */ color: rgb(141, 122, 22);
/* oklch */ color: oklch(58.0% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b2a05e',
    500: '#8d7a16',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a16;
$custom-light: #b2a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a16",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 50.42,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.11296,
    "h": 97.4
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#8D7A16
secondary
#3E53C1
accent
#55F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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