#8D7817#8D7817

#8D7817 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.111 H 95.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D7817
RGBrgb(141, 120, 23)
HSLhsl(49, 72%, 32%)
HSVhsv(49, 84%, 55%)
CMYKcmyk(0%, 14.9%, 83.7%, 44.7%)
CIE-LABlab(50.87, -1.87, 51.30)
CIE-LCHlch(50.87, 51.33, 92.09°)
OKLaboklab(57.59% -0.0112 0.1105)
OKLCHoklch(57.59% 0.111 95.8)
XYZxyz(17.8566, 19.1585, 3.5679)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7817 #172C8D
analogous
#8D3D17 #8D7817 #678D17
triadic
#8D7817 #178D78 #78178D
tetradic
#8D7817 #178D3D #172C8D #8D1767
square
#8D7817 #178D3D #172C8D #8D1767
split-complementary
#8D7817 #17678D #3D178D
monochromatic
#241E06 #584B0E #8D7817 #C2A520 #E0C33F

Accessibility & contrast

On white

4.35
#8D7817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D7817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7817
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7817#FFFFFF#000000##000000
##8D78171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#996E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7817;
/* rgb */ color: rgb(141, 120, 23);
/* oklch */ color: oklch(57.6% 0.111 95.8);
Tailwind
colors: {
  custom: {
    50: '#b29e5e',
    500: '#8d7817',
    950: '#000000',
  },
}
SCSS
$custom: #8d7817;
$custom-light: #b29e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7817",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 49.322,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.1111,
    "h": 95.8
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#8D7817
secondary
#4057C0
accent
#59EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7817

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

Preview Lab → · Contrast checker → · Palette generator →

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