#AF5F22#AF5F22

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

Color values

HEX#AF5F22
RGBrgb(175, 95, 34)
HSLhsl(26, 67%, 41%)
HSVhsv(26, 81%, 69%)
CMYKcmyk(0%, 45.7%, 80.6%, 31.4%)
CIE-LABlab(48.78, 28.06, 46.83)
CIE-LCHlch(48.78, 54.60, 59.07°)
OKLaboklab(56.89% 0.0751 0.1014)
OKLCHoklch(56.89% 0.126 53.5)
XYZxyz(22.0622, 17.4164, 3.7129)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F22 #2272AF
analogous
#AF222C #AF5F22 #AFA522
triadic
#AF5F22 #22AF5F #5F22AF
tetradic
#AF5F22 #2CAF22 #2272AF #A522AF
square
#AF5F22 #2CAF22 #2272AF #A522AF
split-complementary
#AF5F22 #22AFA5 #222CAF
monochromatic
#49270E #7C4318 #AF5F22 #D87C36 #E29E69

Accessibility & contrast

On white

4.68
#AF5F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF5F22
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F22#FFFFFF#000000##FFFFFF
##AF5F221.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766919
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#C04E53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f22;
/* rgb */ color: rgb(175, 95, 34);
/* oklch */ color: oklch(56.9% 0.126 53.5);
Tailwind
colors: {
  custom: {
    50: '#cd8d62',
    500: '#af5f22',
    950: '#000000',
  },
}
SCSS
$custom: #af5f22;
$custom-light: #cd8d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f22",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 25.957,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.12617,
    "h": 53.5
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#AF5F22
secondary
#659DC8
accent
#A0EA3D
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150C05
muted
#837D7A

Preview Lab

Preview with #AF5F22

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

Preview Lab → · Contrast checker → · Palette generator →

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