#AF5120#AF5120

#AF5120 is a mid, vivid orange. Relative luminance 0.151; OKLCH L 54.6% C 0.137 H 44.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF5120
RGBrgb(175, 81, 32)
HSLhsl(21, 69%, 41%)
HSVhsv(21, 82%, 69%)
CMYKcmyk(0%, 53.7%, 81.7%, 31.4%)
CIE-LABlab(45.78, 35.43, 44.91)
CIE-LCHlch(45.78, 57.20, 51.73°)
OKLaboklab(54.58% 0.097 0.0966)
OKLCHoklch(54.58% 0.137 44.9)
XYZxyz(20.8845, 15.1058, 3.1822)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5120 #207EAF
analogous
#AF2037 #AF5120 #AF9820
triadic
#AF5120 #20AF51 #5120AF
tetradic
#AF5120 #37AF20 #207EAF #9820AF
square
#AF5120 #37AF20 #207EAF #9820AF
split-complementary
#AF5120 #20AF98 #2037AF
monochromatic
#48210D #7B3917 #AF5120 #DA6C33 #E39166

Accessibility & contrast

On white

5.22
#AF5120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF5120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5120
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5120#FFFFFF#000000##FFFFFF
##AF51201.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F19
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#C03C47
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af5120;
/* rgb */ color: rgb(175, 81, 32);
/* oklch */ color: oklch(54.6% 0.137 44.9);
Tailwind
colors: {
  custom: {
    50: '#ce845f',
    500: '#af5120',
    950: '#000000',
  },
}
SCSS
$custom: #af5120;
$custom-light: #ce845f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5120",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 32
  },
  "hsl": {
    "h": 20.559,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.1369,
    "h": 44.9
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#AF5120
secondary
#62A5C8
accent
#B0EC3C
background
#FDF8F5
surface
#FBEFE9
border
#D4CAC5
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5120

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

Preview Lab → · Contrast checker → · Palette generator →

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