#8E7116#8E7116

#8E7116 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.2% C 0.108 H 89.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E7116
RGBrgb(142, 113, 22)
HSLhsl(46, 73%, 32%)
HSVhsv(46, 85%, 56%)
CMYKcmyk(0%, 20.4%, 84.5%, 44.3%)
CIE-LABlab(49.03, 2.54, 50.06)
CIE-LCHlch(49.03, 50.13, 87.10°)
OKLaboklab(56.16% 0.0012 0.1076)
OKLCHoklch(56.16% 0.108 89.4)
XYZxyz(17.2064, 17.6201, 3.2537)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7116 #16338E
analogous
#8E3516 #8E7116 #6F8E16
triadic
#8E7116 #168E71 #71168E
tetradic
#8E7116 #168E35 #16338E #8E166F
square
#8E7116 #168E35 #16338E #8E166F
split-complementary
#8E7116 #166F8E #35168E
monochromatic
#241D06 #59470E #8E7116 #C39B1E #E1B93D

Accessibility & contrast

On white

4.64
#8E7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E7116
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7116#FFFFFF#000000##FFFFFF
##8E71161.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e7116;
/* rgb */ color: rgb(142, 113, 22);
/* oklch */ color: oklch(56.2% 0.108 89.4);
Tailwind
colors: {
  custom: {
    50: '#b3995d',
    500: '#8e7116',
    950: '#000000',
  },
}
SCSS
$custom: #8e7116;
$custom-light: #b3995d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7116",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 45.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.10757,
    "h": 89.4
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#8E7116
secondary
#3F5EC1
accent
#64F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8E7116

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

Preview Lab → · Contrast checker → · Palette generator →

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