#8A512F#8A512F

#8A512F is a mid, moderate orange. Relative luminance 0.115; OKLCH L 49.4% C 0.090 H 50.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A512F
RGBrgb(138, 81, 47)
HSLhsl(22, 49%, 36%)
HSVhsv(22, 66%, 54%)
CMYKcmyk(0%, 41.3%, 65.9%, 45.9%)
CIE-LABlab(40.40, 20.56, 29.81)
CIE-LCHlch(40.40, 36.21, 55.41°)
OKLaboklab(49.39% 0.0578 0.0694)
OKLCHoklch(49.39% 0.09 50.2)
XYZxyz(13.9378, 11.4948, 4.1735)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A512F #2F688A
analogous
#8A2F3B #8A512F #8A7F2F
triadic
#8A512F #2F8A51 #512F8A
tetradic
#8A512F #3B8A2F #2F688A #7F2F8A
square
#8A512F #3B8A2F #2F688A #7F2F8A
split-complementary
#8A512F #2F8A7F #2F3B8A
monochromatic
#2F1B10 #5C361F #8A512F #B86C3F #CC8D68

Accessibility & contrast

On white

6.37
#8A512F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A512F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A512F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A512F#FFFFFF#000000##FFFFFF
##8A512F1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582C
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#974649
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a512f;
/* rgb */ color: rgb(138, 81, 47);
/* oklch */ color: oklch(49.4% 0.090 50.2);
Tailwind
colors: {
  custom: {
    50: '#b08268',
    500: '#8a512f',
    950: '#000000',
  },
}
SCSS
$custom: #8a512f;
$custom-light: #b08268;
$custom-dark: #000000;
JSON
{
  "hex": "#8a512f",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 22.418,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.09032,
    "h": 50.2
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#8A512F
secondary
#6295B3
accent
#A5D94F
background
#FBF8F6
surface
#F6EFEB
border
#D0CAC6
text
#110A06
muted
#807C7A

Preview Lab

Preview with #8A512F

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

Preview Lab → · Contrast checker → · Palette generator →

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