#8E6817#8E6817

#8E6817 is a mid, moderate orange. Relative luminance 0.157; OKLCH L 54.2% C 0.104 H 81.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8E6817
RGBrgb(142, 104, 23)
HSLhsl(41, 72%, 32%)
HSVhsv(41, 84%, 56%)
CMYKcmyk(0%, 26.8%, 83.8%, 44.3%)
CIE-LABlab(46.60, 7.75, 47.61)
CIE-LCHlch(46.60, 48.23, 80.75°)
OKLaboklab(54.25% 0.0162 0.1024)
OKLCHoklch(54.25% 0.104 81)
XYZxyz(16.2614, 15.7146, 2.9872)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6817 #173D8E
analogous
#8E2C17 #8E6817 #798E17
triadic
#8E6817 #178E68 #68178E
tetradic
#8E6817 #178E2C #173D8E #8E1779
square
#8E6817 #178E2C #173D8E #8E1779
split-complementary
#8E6817 #17798E #2C178E
monochromatic
#251B06 #59410E #8E6817 #C38F20 #E0AD3F

Accessibility & contrast

On white

5.07
#8E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E6817
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6817#FFFFFF#000000##FFFFFF
##8E68171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#80721B
Tritanopia (blue-blind)
#9B5D59
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e6817;
/* rgb */ color: rgb(142, 104, 23);
/* oklch */ color: oklch(54.2% 0.104 81.0);
Tailwind
colors: {
  custom: {
    50: '#b4925c',
    500: '#8e6817',
    950: '#000000',
  },
}
SCSS
$custom: #8e6817;
$custom-light: #b4925c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6817",
  "rgb": {
    "r": 142,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 40.84,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.10372,
    "h": 81
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#8E6817
secondary
#4069C0
accent
#73EF39
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#120D04
muted
#817D79

Preview Lab

Preview with #8E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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