#AF5F31#AF5F31

#AF5F31 is a mid, moderate orange. Relative luminance 0.175; OKLCH L 57.0% C 0.120 H 48.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF5F31
RGBrgb(175, 95, 49)
HSLhsl(22, 56%, 44%)
HSVhsv(22, 72%, 69%)
CMYKcmyk(0%, 45.7%, 72%, 31.4%)
CIE-LABlab(48.91, 28.72, 39.77)
CIE-LCHlch(48.91, 49.05, 54.16°)
OKLaboklab(57.03% 0.0795 0.0898)
OKLCHoklch(57.03% 0.12 48.5)
XYZxyz(22.3277, 17.5226, 5.1115)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F31 #3181AF
analogous
#AF3142 #AF5F31 #AF9E31
triadic
#AF5F31 #31AF5F #5F31AF
tetradic
#AF5F31 #42AF31 #3181AF #9E31AF
square
#AF5F31 #42AF31 #3181AF #9E31AF
split-complementary
#AF5F31 #31AF9E #3142AF
monochromatic
#4F2B16 #7F4524 #AF5F31 #CE7E4F #DBA17F

Accessibility & contrast

On white

4.66
#AF5F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF5F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F31
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F31#FFFFFF#000000##FFFFFF
##AF5F311.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692C
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#BF4F55
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f31;
/* rgb */ color: rgb(175, 95, 49);
/* oklch */ color: oklch(57.0% 0.120 48.5);
Tailwind
colors: {
  custom: {
    50: '#cd8d6b',
    500: '#af5f31',
    950: '#000000',
  },
}
SCSS
$custom: #af5f31;
$custom-light: #cd8d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f31",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 21.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.1199,
    "h": 48.5
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#AF5F31
secondary
#78A8C4
accent
#A8E048
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C07
muted
#837D7A

Preview Lab

Preview with #AF5F31

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

Preview Lab → · Contrast checker → · Palette generator →

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