#9A5F20#9A5F20

#9A5F20 is a mid, moderate orange. Relative luminance 0.152; OKLCH L 54.0% C 0.108 H 63.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9A5F20
RGBrgb(154, 95, 32)
HSLhsl(31, 66%, 36%)
HSVhsv(31, 79%, 60%)
CMYKcmyk(0%, 38.3%, 79.2%, 39.6%)
CIE-LABlab(45.85, 18.82, 43.90)
CIE-LCHlch(45.85, 47.77, 66.80°)
OKLaboklab(54.02% 0.0489 0.0959)
OKLCHoklch(54.02% 0.108 63)
XYZxyz(17.6808, 15.1605, 3.3613)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5F20 #205B9A
analogous
#9A2220 #9A5F20 #989A20
triadic
#9A5F20 #209A5F #5F209A
tetradic
#9A5F20 #209A22 #205B9A #9A2098
square
#9A5F20 #209A22 #205B9A #9A2098
split-complementary
#9A5F20 #20989A #22209A
monochromatic
#35200B #674015 #9A5F20 #CD7E2B #DC9C58

Accessibility & contrast

On white

5.21
#9A5F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9A5F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A5F20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5F20#FFFFFF#000000##FFFFFF
##9A5F201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726417
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#A95152
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a5f20;
/* rgb */ color: rgb(154, 95, 32);
/* oklch */ color: oklch(54.0% 0.108 63.0);
Tailwind
colors: {
  custom: {
    50: '#bd8c60',
    500: '#9a5f20',
    950: '#000000',
  },
}
SCSS
$custom: #9a5f20;
$custom-light: #bd8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5f20",
  "rgb": {
    "r": 154,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 30.984,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.10765,
    "h": 63
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#9A5F20
secondary
#5689C0
accent
#91E93F
background
#FCF8F5
surface
#F8F0EA
border
#D1CBC6
text
#130C05
muted
#827D79

Preview Lab

Preview with #9A5F20

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

Preview Lab → · Contrast checker → · Palette generator →

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