#8D7617#8D7617

#8D7617 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.110 H 94.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D7617
RGBrgb(141, 118, 23)
HSLhsl(48, 72%, 32%)
HSVhsv(48, 84%, 55%)
CMYKcmyk(0%, 16.3%, 83.7%, 44.7%)
CIE-LABlab(50.31, -0.75, 50.81)
CIE-LCHlch(50.31, 50.82, 90.84°)
OKLaboklab(57.15% -0.008 0.1095)
OKLCHoklch(57.15% 0.11 94.2)
XYZxyz(17.6186, 18.6825, 3.4885)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7617 #172E8D
analogous
#8D3B17 #8D7617 #698D17
triadic
#8D7617 #178D76 #76178D
tetradic
#8D7617 #178D3B #172E8D #8D1769
square
#8D7617 #178D3B #172E8D #8D1769
split-complementary
#8D7617 #17698D #3B178D
monochromatic
#241E06 #584A0E #8D7617 #C2A220 #E0C03F

Accessibility & contrast

On white

4.43
#8D7617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D7617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7617
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7617#FFFFFF#000000##000000
##8D76171.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#996C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d7617;
/* rgb */ color: rgb(141, 118, 23);
/* oklch */ color: oklch(57.1% 0.110 94.2);
Tailwind
colors: {
  custom: {
    50: '#b29d5e',
    500: '#8d7617',
    950: '#000000',
  },
}
SCSS
$custom: #8d7617;
$custom-light: #b29d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7617",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 48.305,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.10977,
    "h": 94.2
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#8D7617
secondary
#4059C0
accent
#5DEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7617

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

Preview Lab → · Contrast checker → · Palette generator →

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