#AF5C31#AF5C31

#AF5C31 is a mid, vivid orange. Relative luminance 0.170; OKLCH L 56.5% C 0.122 H 46.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF5C31
RGBrgb(175, 92, 49)
HSLhsl(20, 56%, 44%)
HSVhsv(20, 72%, 69%)
CMYKcmyk(0%, 47.4%, 72%, 31.4%)
CIE-LABlab(48.25, 30.34, 39.05)
CIE-LCHlch(48.25, 49.45, 52.15°)
OKLaboklab(56.52% 0.0844 0.0882)
OKLCHoklch(56.52% 0.122 46.3)
XYZxyz(22.0627, 16.9925, 5.0232)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5C31 #3184AF
analogous
#AF3145 #AF5C31 #AF9B31
triadic
#AF5C31 #31AF5C #5C31AF
tetradic
#AF5C31 #45AF31 #3184AF #9B31AF
square
#AF5C31 #45AF31 #3184AF #9B31AF
split-complementary
#AF5C31 #31AF9B #3145AF
monochromatic
#4F2A16 #7F4324 #AF5C31 #CE7B4F #DB9F7F

Accessibility & contrast

On white

4.77
#AF5C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF5C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5C31
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5C31#FFFFFF#000000##FFFFFF
##AF5C311.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672C
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#C04B52
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5c31;
/* rgb */ color: rgb(175, 92, 49);
/* oklch */ color: oklch(56.5% 0.122 46.3);
Tailwind
colors: {
  custom: {
    50: '#cd8b6b',
    500: '#af5c31',
    950: '#000000',
  },
}
SCSS
$custom: #af5c31;
$custom-light: #cd8b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5c31",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 49
  },
  "hsl": {
    "h": 20.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.1221,
    "h": 46.3
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#AF5C31
secondary
#78AAC4
accent
#ACE048
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C07
muted
#837D7A

Preview Lab

Preview with #AF5C31

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

Preview Lab → · Contrast checker → · Palette generator →

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