#8D7017#8D7017

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

Color values

HEX#8D7017
RGBrgb(141, 112, 23)
HSLhsl(45, 72%, 32%)
HSVhsv(45, 84%, 55%)
CMYKcmyk(0%, 20.6%, 83.7%, 44.7%)
CIE-LABlab(48.65, 2.67, 49.36)
CIE-LCHlch(48.65, 49.44, 86.90°)
OKLaboklab(55.84% 0.0017 0.1063)
OKLCHoklch(55.84% 0.106 89.1)
XYZxyz(16.9344, 17.3141, 3.2605)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7017 #17348D
analogous
#8D3517 #8D7017 #6F8D17
triadic
#8D7017 #178D70 #70178D
tetradic
#8D7017 #178D35 #17348D #8D176F
square
#8D7017 #178D35 #17348D #8D176F
split-complementary
#8D7017 #176F8D #35178D
monochromatic
#241C06 #58460E #8D7017 #C29A20 #E0B83F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7017#FFFFFF#000000##FFFFFF
##8D70171.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)
#7E6F01
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#996560
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d7017;
/* rgb */ color: rgb(141, 112, 23);
/* oklch */ color: oklch(55.8% 0.106 89.1);
Tailwind
colors: {
  custom: {
    50: '#b3985d',
    500: '#8d7017',
    950: '#000000',
  },
}
SCSS
$custom: #8d7017;
$custom-light: #b3985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7017",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 45.254,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.10634,
    "h": 89.1
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#8D7017
secondary
#405FC0
accent
#66EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8D7017

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

Preview Lab → · Contrast checker → · Palette generator →

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