#8D7717#8D7717

#8D7717 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.110 H 95.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D7717
RGBrgb(141, 119, 23)
HSLhsl(49, 72%, 32%)
HSVhsv(49, 84%, 55%)
CMYKcmyk(0%, 15.6%, 83.7%, 44.7%)
CIE-LABlab(50.59, -1.31, 51.05)
CIE-LCHlch(50.59, 51.07, 91.47°)
OKLaboklab(57.37% -0.0096 0.11)
OKLCHoklch(57.37% 0.11 95)
XYZxyz(17.7370, 18.9193, 3.5280)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7717 #172D8D
analogous
#8D3C17 #8D7717 #688D17
triadic
#8D7717 #178D77 #77178D
tetradic
#8D7717 #178D3C #172D8D #8D1768
square
#8D7717 #178D3C #172D8D #8D1768
split-complementary
#8D7717 #17688D #3C178D
monochromatic
#241E06 #584B0E #8D7717 #C2A320 #E0C23F

Accessibility & contrast

On white

4.39
#8D7717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7717
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7717#FFFFFF#000000##000000
##8D77171.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#996D65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d7717;
/* rgb */ color: rgb(141, 119, 23);
/* oklch */ color: oklch(57.4% 0.110 95.0);
Tailwind
colors: {
  custom: {
    50: '#b29d5e',
    500: '#8d7717',
    950: '#000000',
  },
}
SCSS
$custom: #8d7717;
$custom-light: #b29d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7717",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 48.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.11042,
    "h": 95
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#8D7717
secondary
#4058C0
accent
#5BEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7717

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

Preview Lab → · Contrast checker → · Palette generator →

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