#8E7118#8E7118

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

Color values

HEX#8E7118
RGBrgb(142, 113, 24)
HSLhsl(45, 71%, 33%)
HSVhsv(45, 83%, 56%)
CMYKcmyk(0%, 20.4%, 83.1%, 44.3%)
CIE-LABlab(49.04, 2.61, 49.41)
CIE-LCHlch(49.04, 49.48, 86.98°)
OKLaboklab(56.17% 0.0016 0.1066)
OKLCHoklch(56.17% 0.107 89.2)
XYZxyz(17.2264, 17.6281, 3.3592)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7118 #18358E
analogous
#8E3618 #8E7118 #708E18
triadic
#8E7118 #188E71 #71188E
tetradic
#8E7118 #188E36 #18358E #8E1870
square
#8E7118 #188E36 #18358E #8E1870
split-complementary
#8E7118 #18708E #36188E
monochromatic
#251E06 #5A470F #8E7118 #C29B21 #DFB841

Accessibility & contrast

On white

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

On black

4.53
#8E7118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E7118#FFFFFF#000000##FFFFFF
##8E71181.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#9A6660
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e7118;
/* rgb */ color: rgb(142, 113, 24);
/* oklch */ color: oklch(56.2% 0.107 89.2);
Tailwind
colors: {
  custom: {
    50: '#b3995e',
    500: '#8e7118',
    950: '#000000',
  },
}
SCSS
$custom: #8e7118;
$custom-light: #b3995e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7118",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 45.254,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.10662,
    "h": 89.2
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#8E7118
secondary
#4261C0
accent
#66EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8E7118

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

Preview Lab → · Contrast checker → · Palette generator →

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