#9D5227#9D5227

#9D5227 is a mid, moderate orange. Relative luminance 0.133; OKLCH L 52.1% C 0.114 H 48.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9D5227
RGBrgb(157, 82, 39)
HSLhsl(22, 60%, 38%)
HSVhsv(22, 75%, 62%)
CMYKcmyk(0%, 47.8%, 75.2%, 38.4%)
CIE-LABlab(43.29, 27.75, 38.11)
CIE-LCHlch(43.29, 47.15, 53.94°)
OKLaboklab(52.15% 0.0764 0.085)
OKLCHoklch(52.15% 0.114 48.1)
XYZxyz(17.2897, 13.3512, 3.5856)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5227 #27729D
analogous
#9D2737 #9D5227 #9D8D27
triadic
#9D5227 #279D52 #52279D
tetradic
#9D5227 #379D27 #27729D #8D279D
square
#9D5227 #379D27 #27729D #8D279D
split-complementary
#9D5227 #279D8D #27379D
monochromatic
#3B1F0F #6C381B #9D5227 #CD6C35 #D99066

Accessibility & contrast

On white

5.72
#9D5227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D5227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5227
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5227#FFFFFF#000000##FFFFFF
##9D52271.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#AC4249
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d5227;
/* rgb */ color: rgb(157, 82, 39);
/* oklch */ color: oklch(52.1% 0.114 48.1);
Tailwind
colors: {
  custom: {
    50: '#c08463',
    500: '#9d5227',
    950: '#000000',
  },
}
SCSS
$custom: #9d5227;
$custom-light: #c08463;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5227",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 21.864,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.11434,
    "h": 48.1
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#9D5227
secondary
#619DBF
accent
#A9E344
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130B05
muted
#827C7A

Preview Lab

Preview with #9D5227

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

Preview Lab → · Contrast checker → · Palette generator →

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