#8E7517#8E7517

#8E7517 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.109 H 92.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E7517
RGBrgb(142, 117, 23)
HSLhsl(47, 72%, 32%)
HSVhsv(47, 84%, 56%)
CMYKcmyk(0%, 17.6%, 83.8%, 44.3%)
CIE-LABlab(50.14, 0.29, 50.70)
CIE-LCHlch(50.14, 50.70, 89.67°)
OKLaboklab(57.04% -0.0051 0.1092)
OKLCHoklch(57.04% 0.109 92.7)
XYZxyz(17.6723, 18.5363, 3.4575)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7517 #17308E
analogous
#8E3A17 #8E7517 #6C8E17
triadic
#8E7517 #178E75 #75178E
tetradic
#8E7517 #178E3A #17308E #8E176C
square
#8E7517 #178E3A #17308E #8E176C
split-complementary
#8E7517 #176C8E #3A178E
monochromatic
#251E06 #594A0E #8E7517 #C3A020 #E0BE3F

Accessibility & contrast

On white

4.46
#8E7517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E7517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7517
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7517#FFFFFF#000000##000000
##8E75171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e7517;
/* rgb */ color: rgb(142, 117, 23);
/* oklch */ color: oklch(57.0% 0.109 92.7);
Tailwind
colors: {
  custom: {
    50: '#b39c5e',
    500: '#8e7517',
    950: '#000000',
  },
}
SCSS
$custom: #8e7517;
$custom-light: #b39c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7517",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 47.395,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.1093,
    "h": 92.7
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#8E7517
secondary
#405BC0
accent
#5FEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7517

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

Preview Lab → · Contrast checker → · Palette generator →

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