#AF5B31#AF5B31

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

Color values

HEX#AF5B31
RGBrgb(175, 91, 49)
HSLhsl(20, 56%, 44%)
HSVhsv(20, 72%, 69%)
CMYKcmyk(0%, 48%, 72%, 31.4%)
CIE-LABlab(48.03, 30.88, 38.81)
CIE-LCHlch(48.03, 49.60, 51.49°)
OKLaboklab(56.36% 0.086 0.0877)
OKLCHoklch(56.36% 0.123 45.6)
XYZxyz(21.9766, 16.8204, 4.9945)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B31 #3185AF
analogous
#AF3146 #AF5B31 #AF9A31
triadic
#AF5B31 #31AF5B #5B31AF
tetradic
#AF5B31 #46AF31 #3185AF #9A31AF
square
#AF5B31 #46AF31 #3185AF #9A31AF
split-complementary
#AF5B31 #31AF9A #3146AF
monochromatic
#4F2916 #7F4224 #AF5B31 #CE7A4F #DB9E7F

Accessibility & contrast

On white

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

On black

4.36
#AF5B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF5B31#FFFFFF#000000##FFFFFF
##AF5B311.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72672C
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#C04A52
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5b31;
/* rgb */ color: rgb(175, 91, 49);
/* oklch */ color: oklch(56.4% 0.123 45.6);
Tailwind
colors: {
  custom: {
    50: '#cd8b6b',
    500: '#af5b31',
    950: '#000000',
  },
}
SCSS
$custom: #af5b31;
$custom-light: #cd8b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b31",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 49
  },
  "hsl": {
    "h": 20,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.12287,
    "h": 45.6
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF5B31

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

Preview Lab → · Contrast checker → · Palette generator →

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