#AF5B28#AF5B28

#AF5B28 is a mid, vivid orange. Relative luminance 0.167; OKLCH L 56.3% C 0.126 H 48.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF5B28
RGBrgb(175, 91, 40)
HSLhsl(23, 63%, 42%)
HSVhsv(23, 77%, 69%)
CMYKcmyk(0%, 48%, 77.1%, 31.4%)
CIE-LABlab(47.95, 30.46, 43.26)
CIE-LCHlch(47.95, 52.91, 54.85°)
OKLaboklab(56.26% 0.0832 0.0953)
OKLCHoklch(56.26% 0.126 48.9)
XYZxyz(21.8053, 16.7519, 4.0922)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B28 #287CAF
analogous
#AF2838 #AF5B28 #AF9F28
triadic
#AF5B28 #28AF5B #5B28AF
tetradic
#AF5B28 #38AF28 #287CAF #9F28AF
square
#AF5B28 #38AF28 #287CAF #9F28AF
split-complementary
#AF5B28 #28AF9F #2838AF
monochromatic
#4B2711 #7D411D #AF5B28 #D47841 #DF9B73

Accessibility & contrast

On white

4.83
#AF5B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF5B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5B28
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5B28#FFFFFF#000000##FFFFFF
##AF5B281.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736622
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#C04950
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5b28;
/* rgb */ color: rgb(175, 91, 40);
/* oklch */ color: oklch(56.3% 0.126 48.9);
Tailwind
colors: {
  custom: {
    50: '#cd8a65',
    500: '#af5b28',
    950: '#000000',
  },
}
SCSS
$custom: #af5b28;
$custom-light: #cd8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b28",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 22.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.12649,
    "h": 48.9
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#AF5B28
secondary
#6DA4C6
accent
#A8E642
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5B28

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

Preview Lab → · Contrast checker → · Palette generator →

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