#8E7013#8E7013

#8E7013 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.9% C 0.108 H 88.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8E7013
RGBrgb(142, 112, 19)
HSLhsl(45, 76%, 32%)
HSVhsv(45, 87%, 56%)
CMYKcmyk(0%, 21.1%, 86.6%, 44.3%)
CIE-LABlab(48.74, 3.02, 50.73)
CIE-LCHlch(48.74, 50.82, 86.60°)
OKLaboklab(55.93% 0.0023 0.1084)
OKLCHoklch(55.93% 0.108 88.8)
XYZxyz(17.0681, 17.3873, 3.0731)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7013 #13318E
analogous
#8E3313 #8E7013 #6F8E13
triadic
#8E7013 #138E70 #70138E
tetradic
#8E7013 #138E33 #13318E #8E136F
square
#8E7013 #138E33 #13318E #8E136F
split-complementary
#8E7013 #136F8E #33138E
monochromatic
#221B05 #58450C #8E7013 #C49B1A #E4BA37

Accessibility & contrast

On white

4.69
#8E7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8E7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E7013
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7013#FFFFFF#000000##FFFFFF
##8E70131.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#86771A
Tritanopia (blue-blind)
#9B655F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e7013;
/* rgb */ color: rgb(142, 112, 19);
/* oklch */ color: oklch(55.9% 0.108 88.8);
Tailwind
colors: {
  custom: {
    50: '#b4985c',
    500: '#8e7013',
    950: '#000000',
  },
}
SCSS
$custom: #8e7013;
$custom-light: #b4985c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7013",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 45.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.10838,
    "h": 88.8
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#8E7013
secondary
#3B5CC2
accent
#63F335
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E7013

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

Preview Lab → · Contrast checker → · Palette generator →

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