#AF5F40#AF5F40

#AF5F40 is a mid, moderate orange. Relative luminance 0.177; OKLCH L 57.2% C 0.113 H 41.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF5F40
RGBrgb(175, 95, 64)
HSLhsl(17, 46%, 47%)
HSVhsv(17, 63%, 69%)
CMYKcmyk(0%, 45.7%, 63.4%, 31.4%)
CIE-LABlab(49.09, 29.63, 31.86)
CIE-LCHlch(49.09, 43.51, 47.08°)
OKLaboklab(57.23% 0.0848 0.075)
OKLCHoklch(57.23% 0.113 41.5)
XYZxyz(22.6986, 17.6710, 7.0650)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F40 #4090AF
analogous
#AF4058 #AF5F40 #AF9740
triadic
#AF5F40 #40AF5F #5F40AF
tetradic
#AF5F40 #58AF40 #4090AF #9740AF
square
#AF5F40 #58AF40 #4090AF #9740AF
split-complementary
#AF5F40 #40AF97 #4058AF
monochromatic
#552E1F #824730 #AF5F40 #C78165 #D7A592

Accessibility & contrast

On white

4.63
#AF5F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF5F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F40
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F40#FFFFFF#000000##FFFFFF
##AF5F401.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3D
Deuteranopia (green-blind)
#887B3F
Tritanopia (blue-blind)
#BF5058
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af5f40;
/* rgb */ color: rgb(175, 95, 64);
/* oklch */ color: oklch(57.2% 0.113 41.5);
Tailwind
colors: {
  custom: {
    50: '#cc8d75',
    500: '#af5f40',
    950: '#000000',
  },
}
SCSS
$custom: #af5f40;
$custom-light: #cc8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f40",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 16.757,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.11322,
    "h": 41.5
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#AF5F40
secondary
#88B2C3
accent
#B1D652
background
#FDF8F7
surface
#FAF0ED
border
#D3CBC8
text
#140C08
muted
#837D7B

Preview Lab

Preview with #AF5F40

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

Preview Lab → · Contrast checker → · Palette generator →

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