#8A7238#8A7238

#8A7238 is a mid, moderate orange. Relative luminance 0.177; OKLCH L 56.3% C 0.082 H 87.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A7238
RGBrgb(138, 114, 56)
HSLhsl(42, 42%, 38%)
HSVhsv(42, 59%, 54%)
CMYKcmyk(0%, 17.4%, 59.4%, 45.9%)
CIE-LABlab(49.16, 2.02, 35.17)
CIE-LCHlch(49.16, 35.23, 86.71°)
OKLaboklab(56.25% 0.0042 0.0823)
OKLCHoklch(56.25% 0.082 87.1)
XYZxyz(17.2131, 17.7244, 6.2551)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7238 #38508A
analogous
#8A4938 #8A7238 #798A38
triadic
#8A7238 #388A72 #72388A
tetradic
#8A7238 #388A49 #38508A #8A3879
square
#8A7238 #388A49 #38508A #8A3879
split-complementary
#8A7238 #38798A #49388A
monochromatic
#332A15 #5E4E26 #8A7238 #B5964A #C7AF75

Accessibility & contrast

On white

4.62
#8A7238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A7238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7238
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7238#FFFFFF#000000##FFFFFF
##8A72381.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7133
Deuteranopia (green-blind)
#84783A
Tritanopia (blue-blind)
#956965
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7238;
/* rgb */ color: rgb(138, 114, 56);
/* oklch */ color: oklch(56.3% 0.082 87.1);
Tailwind
colors: {
  custom: {
    50: '#ae9a70',
    500: '#8a7238',
    950: '#000000',
  },
}
SCSS
$custom: #8a7238;
$custom-light: #ae9a70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7238",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 42.439,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.08237,
    "h": 87.1
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#8A7238
secondary
#6E81B0
accent
#7AD256
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7238

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

Preview Lab → · Contrast checker → · Palette generator →

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