#9E5A1F#9E5A1F

#9E5A1F is a mid, moderate orange. Relative luminance 0.147; OKLCH L 53.6% C 0.114 H 57.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E5A1F
RGBrgb(158, 90, 31)
HSLhsl(28, 67%, 37%)
HSVhsv(28, 80%, 62%)
CMYKcmyk(0%, 43%, 80.4%, 38%)
CIE-LABlab(45.20, 23.39, 43.91)
CIE-LCHlch(45.20, 49.75, 61.96°)
OKLaboklab(53.62% 0.062 0.0954)
OKLCHoklch(53.62% 0.114 57)
XYZxyz(18.0056, 14.6823, 3.1818)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5A1F #1F639E
analogous
#9E1F23 #9E5A1F #9E9A1F
triadic
#9E5A1F #1F9E5A #5A1F9E
tetradic
#9E5A1F #239E1F #1F639E #9A1F9E
square
#9E5A1F #239E1F #1F639E #9A1F9E
split-complementary
#9E5A1F #1F9E9A #1F239E
monochromatic
#38200B #6B3D15 #9E5A1F #D17729 #DE9759

Accessibility & contrast

On white

5.34
#9E5A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9E5A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E5A1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5A1F#FFFFFF#000000##FFFFFF
##9E5A1F1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6216
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#AD4B4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e5a1f;
/* rgb */ color: rgb(158, 90, 31);
/* oklch */ color: oklch(53.6% 0.114 57.0);
Tailwind
colors: {
  custom: {
    50: '#c1895f',
    500: '#9e5a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e5a1f;
$custom-light: #c1895f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5a1f",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 27.874,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.11378,
    "h": 57
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#9E5A1F
secondary
#5690C2
accent
#9AEA3E
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130B05
muted
#827C79

Preview Lab

Preview with #9E5A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#9E5A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva