#8E7717#8E7717

#8E7717 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.111 H 94.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8E7717
RGBrgb(142, 119, 23)
HSLhsl(48, 72%, 32%)
HSVhsv(48, 84%, 56%)
CMYKcmyk(0%, 16.2%, 83.8%, 44.3%)
CIE-LABlab(50.70, -0.84, 51.18)
CIE-LCHlch(50.70, 51.19, 90.94°)
OKLaboklab(57.47% -0.0083 0.1102)
OKLCHoklch(57.47% 0.111 94.3)
XYZxyz(17.9078, 19.0074, 3.5360)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7717 #172E8E
analogous
#8E3B17 #8E7717 #6A8E17
triadic
#8E7717 #178E77 #77178E
tetradic
#8E7717 #178E3B #172E8E #8E176A
square
#8E7717 #178E3B #172E8E #8E176A
split-complementary
#8E7717 #176A8E #3B178E
monochromatic
#251F06 #594B0E #8E7717 #C3A320 #E0C13F

Accessibility & contrast

On white

4.37
#8E7717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8E7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7717
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7717#FFFFFF#000000##000000
##8E77171.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#9A6D65
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7717;
/* rgb */ color: rgb(142, 119, 23);
/* oklch */ color: oklch(57.5% 0.111 94.3);
Tailwind
colors: {
  custom: {
    50: '#b39d5e',
    500: '#8e7717',
    950: '#000000',
  },
}
SCSS
$custom: #8e7717;
$custom-light: #b39d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7717",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 48.403,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.11054,
    "h": 94.3
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#8E7717
secondary
#4059C0
accent
#5CEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7717

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

Preview Lab → · Contrast checker → · Palette generator →

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