#AF5D31#AF5D31

#AF5D31 is a mid, vivid orange. Relative luminance 0.172; OKLCH L 56.7% C 0.121 H 47.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF5D31
RGBrgb(175, 93, 49)
HSLhsl(21, 56%, 44%)
HSVhsv(21, 72%, 69%)
CMYKcmyk(0%, 46.9%, 72%, 31.4%)
CIE-LABlab(48.47, 29.80, 39.29)
CIE-LCHlch(48.47, 49.31, 52.81°)
OKLaboklab(56.69% 0.0828 0.0888)
OKLCHoklch(56.69% 0.121 47)
XYZxyz(22.1499, 17.1669, 5.0522)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5D31 #3183AF
analogous
#AF3144 #AF5D31 #AF9C31
triadic
#AF5D31 #31AF5D #5D31AF
tetradic
#AF5D31 #44AF31 #3183AF #9C31AF
square
#AF5D31 #44AF31 #3183AF #9C31AF
split-complementary
#AF5D31 #31AF9C #3144AF
monochromatic
#4F2A16 #7F4424 #AF5D31 #CE7C4F #DB9F7F

Accessibility & contrast

On white

4.74
#AF5D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF5D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5D31
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5D31#FFFFFF#000000##FFFFFF
##AF5D311.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#C04C53
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5d31;
/* rgb */ color: rgb(175, 93, 49);
/* oklch */ color: oklch(56.7% 0.121 47.0);
Tailwind
colors: {
  custom: {
    50: '#cd8c6b',
    500: '#af5d31',
    950: '#000000',
  },
}
SCSS
$custom: #af5d31;
$custom-light: #cd8c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5d31",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 49
  },
  "hsl": {
    "h": 20.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.12135,
    "h": 47
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#AF5D31
secondary
#78A9C4
accent
#ABE048
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C07
muted
#837D7A

Preview Lab

Preview with #AF5D31

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

Preview Lab → · Contrast checker → · Palette generator →

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