#8E7617#8E7617

#8E7617 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.110 H 93.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8E7617
RGBrgb(142, 118, 23)
HSLhsl(48, 72%, 32%)
HSVhsv(48, 84%, 56%)
CMYKcmyk(0%, 16.9%, 83.8%, 44.3%)
CIE-LABlab(50.42, -0.28, 50.94)
CIE-LCHlch(50.42, 50.94, 90.31°)
OKLaboklab(57.25% -0.0067 0.1097)
OKLCHoklch(57.25% 0.11 93.5)
XYZxyz(17.7895, 18.7706, 3.4965)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7617 #172F8E
analogous
#8E3A17 #8E7617 #6B8E17
triadic
#8E7617 #178E76 #76178E
tetradic
#8E7617 #178E3A #172F8E #8E176B
square
#8E7617 #178E3A #172F8E #8E176B
split-complementary
#8E7617 #176B8E #3A178E
monochromatic
#251E06 #594A0E #8E7617 #C3A220 #E0C03F

Accessibility & contrast

On white

4.42
#8E7617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8E7617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7617
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7617#FFFFFF#000000##000000
##8E76171.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e7617;
/* rgb */ color: rgb(142, 118, 23);
/* oklch */ color: oklch(57.3% 0.110 93.5);
Tailwind
colors: {
  custom: {
    50: '#b39d5e',
    500: '#8e7617',
    950: '#000000',
  },
}
SCSS
$custom: #8e7617;
$custom-light: #b39d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7617",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 47.899,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.10991,
    "h": 93.5
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#8E7617
secondary
#405AC0
accent
#5EEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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