#9D5021#9D5021

#9D5021 is a mid, moderate orange. Relative luminance 0.130; OKLCH L 51.7% C 0.118 H 48.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D5021
RGBrgb(157, 80, 33)
HSLhsl(23, 65%, 37%)
HSVhsv(23, 79%, 62%)
CMYKcmyk(0%, 49%, 79%, 38.4%)
CIE-LABlab(42.79, 28.58, 40.60)
CIE-LCHlch(42.79, 49.65, 54.85°)
OKLaboklab(51.75% 0.0779 0.0889)
OKLCHoklch(51.75% 0.118 48.8)
XYZxyz(17.0494, 13.0173, 3.0533)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5021 #216E9D
analogous
#9D2130 #9D5021 #9D8E21
triadic
#9D5021 #219D50 #50219D
tetradic
#9D5021 #309D21 #216E9D #8E219D
square
#9D5021 #309D21 #216E9D #8E219D
split-complementary
#9D5021 #219D8E #21309D
monochromatic
#381C0C #6A3616 #9D5021 #D06A2C #DD8D5C

Accessibility & contrast

On white

5.83
#9D5021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D5021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5021
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5021#FFFFFF#000000##FFFFFF
##9D50211.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1B
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#AC3F46
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d5021;
/* rgb */ color: rgb(157, 80, 33);
/* oklch */ color: oklch(51.7% 0.118 48.8);
Tailwind
colors: {
  custom: {
    50: '#c0825f',
    500: '#9d5021',
    950: '#000000',
  },
}
SCSS
$custom: #9d5021;
$custom-light: #c0825f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5021",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 33
  },
  "hsl": {
    "h": 22.742,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.11821,
    "h": 48.8
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#9D5021
secondary
#599AC1
accent
#A8E840
background
#FCF8F5
surface
#F8EFE9
border
#D1CAC5
text
#130A05
muted
#827C79

Preview Lab

Preview with #9D5021

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

Preview Lab → · Contrast checker → · Palette generator →

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