#8E7014#8E7014

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

Color values

HEX#8E7014
RGBrgb(142, 112, 20)
HSLhsl(45, 75%, 32%)
HSVhsv(45, 86%, 56%)
CMYKcmyk(0%, 21.1%, 85.9%, 44.3%)
CIE-LABlab(48.75, 3.05, 50.44)
CIE-LCHlch(48.75, 50.53, 86.54°)
OKLaboklab(55.93% 0.0025 0.1079)
OKLCHoklch(55.93% 0.108 88.7)
XYZxyz(17.0769, 17.3908, 3.1190)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7014 #14328E
analogous
#8E3314 #8E7014 #6F8E14
triadic
#8E7014 #148E70 #70148E
tetradic
#8E7014 #148E33 #14328E #8E146F
square
#8E7014 #148E33 #14328E #8E146F
split-complementary
#8E7014 #146F8E #33148E
monochromatic
#231B05 #58460C #8E7014 #C49A1C #E3B939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7014#FFFFFF#000000##FFFFFF
##8E70141.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: #8e7014;
/* rgb */ color: rgb(142, 112, 20);
/* oklch */ color: oklch(55.9% 0.108 88.7);
Tailwind
colors: {
  custom: {
    50: '#b3985c',
    500: '#8e7014',
    950: '#000000',
  },
}
SCSS
$custom: #8e7014;
$custom-light: #b3985c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7014",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 45.246,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.10796,
    "h": 88.7
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#8E7014
secondary
#3C5DC2
accent
#64F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E7014

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

Preview Lab → · Contrast checker → · Palette generator →

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