#8E7111#8E7111

#8E7111 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.110 H 89.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8E7111
RGBrgb(142, 113, 17)
HSLhsl(46, 79%, 31%)
HSVhsv(46, 88%, 56%)
CMYKcmyk(0%, 20.4%, 88%, 44.3%)
CIE-LABlab(49.01, 2.39, 51.52)
CIE-LCHlch(49.01, 51.58, 87.34°)
OKLaboklab(56.14% 0.0003 0.1097)
OKLCHoklch(56.14% 0.11 89.8)
XYZxyz(17.1627, 17.6027, 3.0239)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7111 #112E8E
analogous
#8E3211 #8E7111 #6C8E11
triadic
#8E7111 #118E71 #71118E
tetradic
#8E7111 #118E32 #112E8E #8E116C
square
#8E7111 #118E32 #112E8E #8E116C
split-complementary
#8E7111 #116C8E #32118E
monochromatic
#211A04 #57460A #8E7111 #C59C18 #E7BD33

Accessibility & contrast

On white

4.65
#8E7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8E7111 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E7111
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7111#FFFFFF#000000##FFFFFF
##8E71111.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#867818
Tritanopia (blue-blind)
#9B6660
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e7111;
/* rgb */ color: rgb(142, 113, 17);
/* oklch */ color: oklch(56.1% 0.110 89.8);
Tailwind
colors: {
  custom: {
    50: '#b4995b',
    500: '#8e7111',
    950: '#000000',
  },
}
SCSS
$custom: #8e7111;
$custom-light: #b4995b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7111",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 46.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.10965,
    "h": 89.8
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#8E7111
secondary
#3858C2
accent
#60F533
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E7111

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

Preview Lab → · Contrast checker → · Palette generator →

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