#8E6912#8E6912

#8E6912 is a mid, moderate orange. Relative luminance 0.159; OKLCH L 54.4% C 0.106 H 82.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E6912
RGBrgb(142, 105, 18)
HSLhsl(42, 78%, 31%)
HSVhsv(42, 87%, 56%)
CMYKcmyk(0%, 26.1%, 87.3%, 44.3%)
CIE-LABlab(46.84, 7.02, 49.44)
CIE-LCHlch(46.84, 49.94, 81.92°)
OKLaboklab(54.43% 0.0136 0.1053)
OKLCHoklch(54.43% 0.106 82.6)
XYZxyz(16.3172, 15.8989, 2.7815)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6912 #12378E
analogous
#8E2B12 #8E6912 #758E12
triadic
#8E6912 #128E69 #69128E
tetradic
#8E6912 #128E2B #12378E #8E1275
square
#8E6912 #128E2B #12378E #8E1275
split-complementary
#8E6912 #12758E #2B128E
monochromatic
#211904 #58410B #8E6912 #C49119 #E5B135

Accessibility & contrast

On white

5.02
#8E6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8E6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E6912
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6912#FFFFFF#000000##FFFFFF
##8E69121.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#817317
Tritanopia (blue-blind)
#9B5E59
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e6912;
/* rgb */ color: rgb(142, 105, 18);
/* oklch */ color: oklch(54.4% 0.106 82.6);
Tailwind
colors: {
  custom: {
    50: '#b4935a',
    500: '#8e6912',
    950: '#000000',
  },
}
SCSS
$custom: #8e6912;
$custom-light: #b4935a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6912",
  "rgb": {
    "r": 142,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 42.097,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.10615,
    "h": 82.6
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#8E6912
secondary
#3A62C2
accent
#6DF434
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E6912

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

Preview Lab → · Contrast checker → · Palette generator →

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