#9D5E1B#9D5E1B

#9D5E1B is a mid, moderate orange. Relative luminance 0.153; OKLCH L 54.2% C 0.113 H 61.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9D5E1B
RGBrgb(157, 94, 27)
HSLhsl(31, 71%, 36%)
HSVhsv(31, 83%, 62%)
CMYKcmyk(0%, 40.1%, 82.8%, 38.4%)
CIE-LABlab(45.98, 20.54, 46.27)
CIE-LCHlch(45.98, 50.63, 66.06°)
OKLaboklab(54.19% 0.0531 0.0995)
OKLCHoklch(54.19% 0.113 61.9)
XYZxyz(18.1067, 15.2545, 3.0276)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5E1B #1B5A9D
analogous
#9D1D1B #9D5E1B #9B9D1B
triadic
#9D5E1B #1B9D5E #5E1B9D
tetradic
#9D5E1B #1B9D1D #1B5A9D #9D1B9B
square
#9D5E1B #1B9D1D #1B5A9D #9D1B9B
split-complementary
#9D5E1B #1B9B9D #1D1B9D
monochromatic
#351F09 #693F12 #9D5E1B #D17D24 #E19B51

Accessibility & contrast

On white

5.18
#9D5E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9D5E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5E1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5E1B#FFFFFF#000000##FFFFFF
##9D5E1B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640F
Deuteranopia (green-blind)
#80731C
Tritanopia (blue-blind)
#AC5051
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d5e1b;
/* rgb */ color: rgb(157, 94, 27);
/* oklch */ color: oklch(54.2% 0.113 61.9);
Tailwind
colors: {
  custom: {
    50: '#c08c5d',
    500: '#9d5e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9d5e1b;
$custom-light: #c08c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5e1b",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 30.923,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.1128,
    "h": 61.9
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#9D5E1B
secondary
#5088C4
accent
#91ED3A
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9D5E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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