#8E7015#8E7015

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

Color values

HEX#8E7015
RGBrgb(142, 112, 21)
HSLhsl(45, 74%, 32%)
HSVhsv(45, 85%, 56%)
CMYKcmyk(0%, 21.1%, 85.2%, 44.3%)
CIE-LABlab(48.75, 3.08, 50.14)
CIE-LCHlch(48.75, 50.23, 86.49°)
OKLaboklab(55.94% 0.0026 0.1075)
OKLCHoklch(55.94% 0.108 88.6)
XYZxyz(17.0859, 17.3944, 3.1669)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7015 #15338E
analogous
#8E3415 #8E7015 #708E15
triadic
#8E7015 #158E70 #70158E
tetradic
#8E7015 #158E34 #15338E #8E1570
square
#8E7015 #158E34 #15338E #8E1570
split-complementary
#8E7015 #15708E #34158E
monochromatic
#231C05 #59460D #8E7015 #C39A1D #E2B93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7015#FFFFFF#000000##FFFFFF
##8E70151.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)
#86771B
Tritanopia (blue-blind)
#9B655F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e7015;
/* rgb */ color: rgb(142, 112, 21);
/* oklch */ color: oklch(55.9% 0.108 88.6);
Tailwind
colors: {
  custom: {
    50: '#b3985c',
    500: '#8e7015',
    950: '#000000',
  },
}
SCSS
$custom: #8e7015;
$custom-light: #b3985c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7015",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 45.124,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.10753,
    "h": 88.6
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#8E7015
secondary
#3D5EC2
accent
#65F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E7015

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

Preview Lab → · Contrast checker → · Palette generator →

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