#AF5F34#AF5F34

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

Color values

HEX#AF5F34
RGBrgb(175, 95, 52)
HSLhsl(21, 54%, 45%)
HSVhsv(21, 70%, 69%)
CMYKcmyk(0%, 45.7%, 70.3%, 31.4%)
CIE-LABlab(48.94, 28.88, 38.24)
CIE-LCHlch(48.94, 47.92, 52.94°)
OKLaboklab(57.06% 0.0805 0.0871)
OKLCHoklch(57.06% 0.119 47.3)
XYZxyz(22.3932, 17.5488, 5.4561)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F34 #3484AF
analogous
#AF3446 #AF5F34 #AF9D34
triadic
#AF5F34 #34AF5F #5F34AF
tetradic
#AF5F34 #46AF34 #3484AF #9D34AF
square
#AF5F34 #46AF34 #3484AF #9D34AF
split-complementary
#AF5F34 #34AF9D #3446AF
monochromatic
#512C18 #804526 #AF5F34 #CC7E54 #DAA283

Accessibility & contrast

On white

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

On black

4.51
#AF5F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF5F34#FFFFFF#000000##FFFFFF
##AF5F341.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692F
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#BF4F55
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f34;
/* rgb */ color: rgb(175, 95, 52);
/* oklch */ color: oklch(57.1% 0.119 47.3);
Tailwind
colors: {
  custom: {
    50: '#cc8d6d',
    500: '#af5f34',
    950: '#000000',
  },
}
SCSS
$custom: #af5f34;
$custom-light: #cc8d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f34",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 52
  },
  "hsl": {
    "h": 20.976,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.11855,
    "h": 47.3
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#AF5F34
secondary
#7BAAC4
accent
#AADE4A
background
#FDF8F6
surface
#FAF0EC
border
#D3CBC7
text
#140C07
muted
#837D7A

Preview Lab

Preview with #AF5F34

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

Preview Lab → · Contrast checker → · Palette generator →

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