#8E7016#8E7016

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

Color values

HEX#8E7016
RGBrgb(142, 112, 22)
HSLhsl(45, 73%, 32%)
HSVhsv(45, 85%, 56%)
CMYKcmyk(0%, 21.1%, 84.5%, 44.3%)
CIE-LABlab(48.76, 3.11, 49.82)
CIE-LCHlch(48.76, 49.92, 86.43°)
OKLaboklab(55.94% 0.0028 0.107)
OKLCHoklch(55.94% 0.107 88.5)
XYZxyz(17.0954, 17.3982, 3.2167)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7016 #16348E
analogous
#8E3416 #8E7016 #708E16
triadic
#8E7016 #168E70 #70168E
tetradic
#8E7016 #168E34 #16348E #8E1670
square
#8E7016 #168E34 #16348E #8E1670
split-complementary
#8E7016 #16708E #34168E
monochromatic
#241C06 #59460E #8E7016 #C39A1E #E1B83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7016#FFFFFF#000000##FFFFFF
##8E70161.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)
#86771C
Tritanopia (blue-blind)
#9B6560
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e7016;
/* rgb */ color: rgb(142, 112, 22);
/* oklch */ color: oklch(55.9% 0.107 88.5);
Tailwind
colors: {
  custom: {
    50: '#b3985d',
    500: '#8e7016',
    950: '#000000',
  },
}
SCSS
$custom: #8e7016;
$custom-light: #b3985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7016",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 45,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.10708,
    "h": 88.5
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#8E7016
secondary
#3F5FC1
accent
#66F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8E7016

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

Preview Lab → · Contrast checker → · Palette generator →

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