#AF5D28#AF5D28

#AF5D28 is a mid, vivid orange. Relative luminance 0.171; OKLCH L 56.6% C 0.125 H 50.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF5D28
RGBrgb(175, 93, 40)
HSLhsl(24, 63%, 42%)
HSVhsv(24, 77%, 69%)
CMYKcmyk(0%, 46.9%, 77.1%, 31.4%)
CIE-LABlab(48.38, 29.38, 43.70)
CIE-LCHlch(48.38, 52.66, 56.09°)
OKLaboklab(56.6% 0.08 0.0962)
OKLCHoklch(56.6% 0.125 50.3)
XYZxyz(21.9786, 17.0984, 4.1500)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5D28 #287AAF
analogous
#AF2836 #AF5D28 #AFA128
triadic
#AF5D28 #28AF5D #5D28AF
tetradic
#AF5D28 #36AF28 #287AAF #A128AF
square
#AF5D28 #36AF28 #287AAF #A128AF
split-complementary
#AF5D28 #28AFA1 #2836AF
monochromatic
#4B2811 #7D431D #AF5D28 #D47A41 #DF9D73

Accessibility & contrast

On white

4.75
#AF5D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF5D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5D28
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5D28#FFFFFF#000000##FFFFFF
##AF5D281.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746821
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#C04C52
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5d28;
/* rgb */ color: rgb(175, 93, 40);
/* oklch */ color: oklch(56.6% 0.125 50.3);
Tailwind
colors: {
  custom: {
    50: '#cd8c65',
    500: '#af5d28',
    950: '#000000',
  },
}
SCSS
$custom: #af5d28;
$custom-light: #cd8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#af5d28",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 40
  },
  "hsl": {
    "h": 23.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.12511,
    "h": 50.3
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#AF5D28
secondary
#6DA3C6
accent
#A6E642
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5D28

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

Preview Lab → · Contrast checker → · Palette generator →

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