#8E7011#8E7011

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

Color values

HEX#8E7011
RGBrgb(142, 112, 17)
HSLhsl(46, 79%, 31%)
HSVhsv(46, 88%, 56%)
CMYKcmyk(0%, 21.1%, 88%, 44.3%)
CIE-LABlab(48.74, 2.96, 51.30)
CIE-LCHlch(48.74, 51.38, 86.69°)
OKLaboklab(55.92% 0.002 0.1092)
OKLCHoklch(55.92% 0.109 89)
XYZxyz(17.0518, 17.3808, 2.9869)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7011 #112F8E
analogous
#8E3111 #8E7011 #6D8E11
triadic
#8E7011 #118E70 #70118E
tetradic
#8E7011 #118E31 #112F8E #8E116D
square
#8E7011 #118E31 #112F8E #8E116D
split-complementary
#8E7011 #116D8E #31118E
monochromatic
#211A04 #57450A #8E7011 #C59B18 #E7BB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7011#FFFFFF#000000##FFFFFF
##8E70111.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)
#7F6F00
Deuteranopia (green-blind)
#867718
Tritanopia (blue-blind)
#9B655F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e7011;
/* rgb */ color: rgb(142, 112, 17);
/* oklch */ color: oklch(55.9% 0.109 89.0);
Tailwind
colors: {
  custom: {
    50: '#b4985b',
    500: '#8e7011',
    950: '#000000',
  },
}
SCSS
$custom: #8e7011;
$custom-light: #b4985b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7011",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 45.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.10917,
    "h": 89
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#8E7011
secondary
#385AC2
accent
#61F533
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E7011

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

Preview Lab → · Contrast checker → · Palette generator →

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