#AF5F21#AF5F21

#AF5F21 is a mid, vivid orange. Relative luminance 0.174; OKLCH L 56.9% C 0.127 H 53.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF5F21
RGBrgb(175, 95, 33)
HSLhsl(26, 68%, 41%)
HSVhsv(26, 81%, 69%)
CMYKcmyk(0%, 45.7%, 81.1%, 31.4%)
CIE-LABlab(48.77, 28.02, 47.26)
CIE-LCHlch(48.77, 54.94, 59.34°)
OKLaboklab(56.88% 0.0749 0.102)
OKLCHoklch(56.88% 0.127 53.7)
XYZxyz(22.0480, 17.4107, 3.6381)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F21 #2171AF
analogous
#AF212A #AF5F21 #AFA621
triadic
#AF5F21 #21AF5F #5F21AF
tetradic
#AF5F21 #2AAF21 #2171AF #A621AF
square
#AF5F21 #2AAF21 #2171AF #A621AF
split-complementary
#AF5F21 #21AFA6 #212AAF
monochromatic
#48270E #7C4317 #AF5F21 #D97C34 #E39D68

Accessibility & contrast

On white

4.69
#AF5F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF5F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F21
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F21#FFFFFF#000000##FFFFFF
##AF5F211.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766917
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#C04D53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f21;
/* rgb */ color: rgb(175, 95, 33);
/* oklch */ color: oklch(56.9% 0.127 53.7);
Tailwind
colors: {
  custom: {
    50: '#cd8d61',
    500: '#af5f21',
    950: '#000000',
  },
}
SCSS
$custom: #af5f21;
$custom-light: #cd8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f21",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 33
  },
  "hsl": {
    "h": 26.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.12655,
    "h": 53.7
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#AF5F21
secondary
#649CC8
accent
#9FEB3D
background
#FDF8F5
surface
#FBF0EA
border
#D4CBC6
text
#150C05
muted
#837D79

Preview Lab

Preview with #AF5F21

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

Preview Lab → · Contrast checker → · Palette generator →

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