#8E7315#8E7315

#8E7315 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.109 H 91.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E7315
RGBrgb(142, 115, 21)
HSLhsl(47, 74%, 32%)
HSVhsv(47, 85%, 56%)
CMYKcmyk(0%, 19%, 85.2%, 44.3%)
CIE-LABlab(49.58, 1.36, 50.84)
CIE-LCHlch(49.58, 50.86, 88.46°)
OKLaboklab(56.59% -0.0022 0.109)
OKLCHoklch(56.59% 0.109 91.2)
XYZxyz(17.4225, 18.0675, 3.2791)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7315 #15308E
analogous
#8E3715 #8E7315 #6C8E15
triadic
#8E7315 #158E73 #73158E
tetradic
#8E7315 #158E37 #15308E #8E156C
square
#8E7315 #158E37 #15308E #8E156C
split-complementary
#8E7315 #156C8E #37158E
monochromatic
#231D05 #59480D #8E7315 #C39E1D #E2BD3B

Accessibility & contrast

On white

4.55
#8E7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E7315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7315
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7315#FFFFFF#000000##000000
##8E73151.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#88791C
Tritanopia (blue-blind)
#9A6862
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e7315;
/* rgb */ color: rgb(142, 115, 21);
/* oklch */ color: oklch(56.6% 0.109 91.2);
Tailwind
colors: {
  custom: {
    50: '#b39a5d',
    500: '#8e7315',
    950: '#000000',
  },
}
SCSS
$custom: #8e7315;
$custom-light: #b39a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7315",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 46.612,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.10906,
    "h": 91.2
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#8E7315
secondary
#3D5BC2
accent
#60F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7315

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

Preview Lab → · Contrast checker → · Palette generator →

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