#AF5122#AF5122

#AF5122 is a mid, vivid orange. Relative luminance 0.151; OKLCH L 54.6% C 0.136 H 44.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF5122
RGBrgb(175, 81, 34)
HSLhsl(20, 67%, 41%)
HSVhsv(20, 81%, 69%)
CMYKcmyk(0%, 53.7%, 80.6%, 31.4%)
CIE-LABlab(45.79, 35.50, 44.00)
CIE-LCHlch(45.79, 56.53, 51.10°)
OKLaboklab(54.6% 0.0975 0.0952)
OKLCHoklch(54.6% 0.136 44.3)
XYZxyz(20.9125, 15.1170, 3.3297)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5122 #2280AF
analogous
#AF2239 #AF5122 #AF9722
triadic
#AF5122 #22AF51 #5122AF
tetradic
#AF5122 #39AF22 #2280AF #9722AF
square
#AF5122 #39AF22 #2280AF #9722AF
split-complementary
#AF5122 #22AF97 #2239AF
monochromatic
#49220E #7C3918 #AF5122 #D86C36 #E29269

Accessibility & contrast

On white

5.22
#AF5122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF5122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5122
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5122#FFFFFF#000000##FFFFFF
##AF51221.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F1B
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#C03C47
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af5122;
/* rgb */ color: rgb(175, 81, 34);
/* oklch */ color: oklch(54.6% 0.136 44.3);
Tailwind
colors: {
  custom: {
    50: '#ce8461',
    500: '#af5122',
    950: '#000000',
  },
}
SCSS
$custom: #af5122;
$custom-light: #ce8461;
$custom-dark: #000000;
JSON
{
  "hex": "#af5122",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 20,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.1363,
    "h": 44.3
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#AF5122
secondary
#65A7C8
accent
#B1EA3D
background
#FDF8F5
surface
#FBEFEA
border
#D4CAC6
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5122

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

Preview Lab → · Contrast checker → · Palette generator →

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