#AF5A31#AF5A31

#AF5A31 is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.2% C 0.124 H 44.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF5A31
RGBrgb(175, 90, 49)
HSLhsl(20, 56%, 44%)
HSVhsv(20, 72%, 69%)
CMYKcmyk(0%, 48.6%, 72%, 31.4%)
CIE-LABlab(47.82, 31.42, 38.57)
CIE-LCHlch(47.82, 49.75, 50.84°)
OKLaboklab(56.19% 0.0877 0.0872)
OKLCHoklch(56.19% 0.124 44.9)
XYZxyz(21.8917, 16.6506, 4.9662)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A31 #3186AF
analogous
#AF3147 #AF5A31 #AF9931
triadic
#AF5A31 #31AF5A #5A31AF
tetradic
#AF5A31 #47AF31 #3186AF #9931AF
square
#AF5A31 #47AF31 #3186AF #9931AF
split-complementary
#AF5A31 #31AF99 #3147AF
monochromatic
#4F2916 #7F4124 #AF5A31 #CE794F #DB9D7F

Accessibility & contrast

On white

4.85
#AF5A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF5A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A31
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A31#FFFFFF#000000##FFFFFF
##AF5A311.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71662D
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#C04951
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5a31;
/* rgb */ color: rgb(175, 90, 49);
/* oklch */ color: oklch(56.2% 0.124 44.9);
Tailwind
colors: {
  custom: {
    50: '#cd8a6b',
    500: '#af5a31',
    950: '#000000',
  },
}
SCSS
$custom: #af5a31;
$custom-light: #cd8a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a31",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 19.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.12365,
    "h": 44.9
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#AF5A31
secondary
#78ABC4
accent
#AEE048
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C07
muted
#837D7A

Preview Lab

Preview with #AF5A31

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

Preview Lab → · Contrast checker → · Palette generator →

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