#AF5A28#AF5A28

#AF5A28 is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.1% C 0.127 H 48.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF5A28
RGBrgb(175, 90, 40)
HSLhsl(22, 63%, 42%)
HSVhsv(22, 77%, 69%)
CMYKcmyk(0%, 48.6%, 77.1%, 31.4%)
CIE-LABlab(47.73, 30.99, 43.04)
CIE-LCHlch(47.73, 53.04, 54.24°)
OKLaboklab(56.09% 0.0848 0.0948)
OKLCHoklch(56.09% 0.127 48.2)
XYZxyz(21.7204, 16.5821, 4.0639)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A28 #287DAF
analogous
#AF283A #AF5A28 #AF9E28
triadic
#AF5A28 #28AF5A #5A28AF
tetradic
#AF5A28 #3AAF28 #287DAF #9E28AF
square
#AF5A28 #3AAF28 #287DAF #9E28AF
split-complementary
#AF5A28 #28AF9E #283AAF
monochromatic
#4B2711 #7D401D #AF5A28 #D47741 #DF9B73

Accessibility & contrast

On white

4.87
#AF5A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF5A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A28
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A28#FFFFFF#000000##FFFFFF
##AF5A281.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726622
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#C0484F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5a28;
/* rgb */ color: rgb(175, 90, 40);
/* oklch */ color: oklch(56.1% 0.127 48.2);
Tailwind
colors: {
  custom: {
    50: '#cd8a65',
    500: '#af5a28',
    950: '#000000',
  },
}
SCSS
$custom: #af5a28;
$custom-light: #cd8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a28",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 22.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.12721,
    "h": 48.2
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#AF5A28
secondary
#6DA5C6
accent
#A9E642
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5A28

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

Preview Lab → · Contrast checker → · Palette generator →

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