#8E6812#8E6812

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

Color values

HEX#8E6812
RGBrgb(142, 104, 18)
HSLhsl(42, 78%, 31%)
HSVhsv(42, 87%, 56%)
CMYKcmyk(0%, 26.8%, 87.3%, 44.3%)
CIE-LABlab(46.57, 7.60, 49.22)
CIE-LCHlch(46.57, 49.80, 81.22°)
OKLaboklab(54.22% 0.0153 0.1048)
OKLCHoklch(54.22% 0.106 81.7)
XYZxyz(16.2160, 15.6964, 2.7478)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6812 #12388E
analogous
#8E2A12 #8E6812 #768E12
triadic
#8E6812 #128E68 #68128E
tetradic
#8E6812 #128E2A #12388E #8E1276
square
#8E6812 #128E2A #12388E #8E1276
split-complementary
#8E6812 #12768E #2A128E
monochromatic
#211804 #58400B #8E6812 #C49019 #E5AF35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E6812#FFFFFF#000000##FFFFFF
##8E68121.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)
#776900
Deuteranopia (green-blind)
#807217
Tritanopia (blue-blind)
#9B5D59
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e6812;
/* rgb */ color: rgb(142, 104, 18);
/* oklch */ color: oklch(54.2% 0.106 81.7);
Tailwind
colors: {
  custom: {
    50: '#b4925a',
    500: '#8e6812',
    950: '#000000',
  },
}
SCSS
$custom: #8e6812;
$custom-light: #b4925a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6812",
  "rgb": {
    "r": 142,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 41.613,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.10588,
    "h": 81.7
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#8E6812
secondary
#3A63C2
accent
#6FF434
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#120D04
muted
#817D79

Preview Lab

Preview with #8E6812

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

Preview Lab → · Contrast checker → · Palette generator →

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