#8D7016#8D7016

#8D7016 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.107 H 89.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D7016
RGBrgb(141, 112, 22)
HSLhsl(45, 73%, 32%)
HSVhsv(45, 84%, 55%)
CMYKcmyk(0%, 20.6%, 84.4%, 44.7%)
CIE-LABlab(48.65, 2.64, 49.69)
CIE-LCHlch(48.65, 49.76, 86.96°)
OKLaboklab(55.83% 0.0015 0.1068)
OKLCHoklch(55.83% 0.107 89.2)
XYZxyz(16.9246, 17.3101, 3.2087)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7016 #16338D
analogous
#8D3516 #8D7016 #6F8D16
triadic
#8D7016 #168D70 #70168D
tetradic
#8D7016 #168D35 #16338D #8D166F
square
#8D7016 #168D35 #16338D #8D166F
split-complementary
#8D7016 #166F8D #35168D
monochromatic
#231C05 #58460E #8D7016 #C29A1E #E1B93D

Accessibility & contrast

On white

4.71
#8D7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7016
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7016#FFFFFF#000000##FFFFFF
##8D70161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#85771C
Tritanopia (blue-blind)
#996560
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d7016;
/* rgb */ color: rgb(141, 112, 22);
/* oklch */ color: oklch(55.8% 0.107 89.2);
Tailwind
colors: {
  custom: {
    50: '#b3985d',
    500: '#8d7016',
    950: '#000000',
  },
}
SCSS
$custom: #8d7016;
$custom-light: #b3985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7016",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 45.378,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.10681,
    "h": 89.2
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#8D7016
secondary
#3E5EC1
accent
#65F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8D7016

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

Preview Lab → · Contrast checker → · Palette generator →

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