#AA5F21#AA5F21

#AA5F21 is a mid, vivid orange. Relative luminance 0.168; OKLCH L 56.2% C 0.122 H 55.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA5F21
RGBrgb(170, 95, 33)
HSLhsl(27, 67%, 40%)
HSVhsv(27, 81%, 67%)
CMYKcmyk(0%, 44.1%, 80.6%, 33.3%)
CIE-LABlab(48.06, 25.89, 46.34)
CIE-LCHlch(48.06, 53.08, 60.81°)
OKLaboklab(56.18% 0.0688 0.1004)
OKLCHoklch(56.18% 0.122 55.6)
XYZxyz(20.9462, 16.8426, 3.5864)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5F21 #216CAA
analogous
#AA2128 #AA5F21 #AAA321
triadic
#AA5F21 #21AA5F #5F21AA
tetradic
#AA5F21 #28AA21 #216CAA #A321AA
square
#AA5F21 #28AA21 #216CAA #A321AA
split-complementary
#AA5F21 #21AAA3 #2128AA
monochromatic
#43260D #774217 #AA5F21 #D77C31 #E19D64

Accessibility & contrast

On white

4.81
#AA5F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AA5F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5F21
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5F21#FFFFFF#000000##FFFFFF
##AA5F211.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756818
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#BA4F53
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa5f21;
/* rgb */ color: rgb(170, 95, 33);
/* oklch */ color: oklch(56.2% 0.122 55.6);
Tailwind
colors: {
  custom: {
    50: '#ca8d61',
    500: '#aa5f21',
    950: '#000000',
  },
}
SCSS
$custom: #aa5f21;
$custom-light: #ca8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5f21",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 33
  },
  "hsl": {
    "h": 27.153,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.12173,
    "h": 55.6
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#AA5F21
secondary
#6198C6
accent
#9CEA3D
background
#FDF8F5
surface
#FAF0EA
border
#D3CBC6
text
#140C05
muted
#837D79

Preview Lab

Preview with #AA5F21

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

Preview Lab → · Contrast checker → · Palette generator →

#AA5F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva