#8A5F28#8A5F28

#8A5F28 is a mid, moderate orange. Relative luminance 0.137; OKLCH L 52.0% C 0.090 H 70.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A5F28
RGBrgb(138, 95, 40)
HSLhsl(34, 55%, 35%)
HSVhsv(34, 71%, 54%)
CMYKcmyk(0%, 31.2%, 71%, 45.9%)
CIE-LABlab(43.86, 11.93, 37.44)
CIE-LCHlch(43.86, 39.29, 72.33°)
OKLaboklab(52.04% 0.0309 0.0847)
OKLCHoklch(52.04% 0.09 70)
XYZxyz(14.9575, 13.7421, 3.8718)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5F28 #28538A
analogous
#8A2E28 #8A5F28 #848A28
triadic
#8A5F28 #288A5F #5F288A
tetradic
#8A5F28 #288A2E #28538A #8A2884
square
#8A5F28 #288A2E #28538A #8A2884
split-complementary
#8A5F28 #28848A #2E288A
monochromatic
#2B1E0C #5B3E1A #8A5F28 #B98036 #D09D5D

Accessibility & contrast

On white

5.60
#8A5F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A5F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5F28
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5F28#FFFFFF#000000##FFFFFF
##8A5F281.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6222
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#965453
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5f28;
/* rgb */ color: rgb(138, 95, 40);
/* oklch */ color: oklch(52.0% 0.090 70.0);
Tailwind
colors: {
  custom: {
    50: '#b08c65',
    500: '#8a5f28',
    950: '#000000',
  },
}
SCSS
$custom: #8a5f28;
$custom-light: #b08c65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5f28",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 33.673,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.09016,
    "h": 70
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#8A5F28
secondary
#5981B5
accent
#8BDE49
background
#FBF8F6
surface
#F6F0EB
border
#D0CBC6
text
#110C06
muted
#807D7A

Preview Lab

Preview with #8A5F28

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

Preview Lab → · Contrast checker → · Palette generator →

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