#AF5222#AF5222

#AF5222 is a mid, vivid orange. Relative luminance 0.153; OKLCH L 54.8% C 0.135 H 44.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF5222
RGBrgb(175, 82, 34)
HSLhsl(20, 67%, 41%)
HSVhsv(20, 81%, 69%)
CMYKcmyk(0%, 53.1%, 80.6%, 31.4%)
CIE-LABlab(46.00, 34.98, 44.19)
CIE-LCHlch(46.00, 56.36, 51.64°)
OKLaboklab(54.76% 0.0959 0.0957)
OKLCHoklch(54.76% 0.135 44.9)
XYZxyz(20.9873, 15.2667, 3.3547)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5222 #227FAF
analogous
#AF2238 #AF5222 #AF9822
triadic
#AF5222 #22AF52 #5222AF
tetradic
#AF5222 #38AF22 #227FAF #9822AF
square
#AF5222 #38AF22 #227FAF #9822AF
split-complementary
#AF5222 #22AF98 #2238AF
monochromatic
#49220E #7C3A18 #AF5222 #D86D36 #E29269

Accessibility & contrast

On white

5.18
#AF5222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF5222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5222
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5222#FFFFFF#000000##FFFFFF
##AF52221.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601B
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#C03D48
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5222;
/* rgb */ color: rgb(175, 82, 34);
/* oklch */ color: oklch(54.8% 0.135 44.9);
Tailwind
colors: {
  custom: {
    50: '#ce8561',
    500: '#af5222',
    950: '#000000',
  },
}
SCSS
$custom: #af5222;
$custom-light: #ce8561;
$custom-dark: #000000;
JSON
{
  "hex": "#af5222",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 20.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.13547,
    "h": 44.9
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#AF5222
secondary
#65A6C8
accent
#AFEA3D
background
#FDF8F5
surface
#FBEFEA
border
#D4CAC6
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5222

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

Preview Lab → · Contrast checker → · Palette generator →

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