#AF7221#AF7221

#AF7221 is a mid, moderate orange. Relative luminance 0.213; OKLCH L 60.3% C 0.119 H 68.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF7221
RGBrgb(175, 114, 33)
HSLhsl(34, 68%, 41%)
HSVhsv(34, 81%, 69%)
CMYKcmyk(0%, 34.9%, 81.1%, 31.4%)
CIE-LABlab(53.23, 17.49, 51.37)
CIE-LCHlch(53.23, 54.26, 71.20°)
OKLaboklab(60.33% 0.0437 0.111)
OKLCHoklch(60.33% 0.119 68.5)
XYZxyz(23.9729, 21.2607, 4.2797)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7221 #215EAF
analogous
#AF2B21 #AF7221 #A5AF21
triadic
#AF7221 #21AF72 #7221AF
tetradic
#AF7221 #21AF2B #215EAF #AF21A5
square
#AF7221 #21AF2B #215EAF #AF21A5
split-complementary
#AF7221 #21A5AF #2B21AF
monochromatic
#482F0E #7C5017 #AF7221 #D99234 #E3AE68

Accessibility & contrast

On white

4.00
#AF7221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF7221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7221
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7221#FFFFFF#000000##000000
##AF72211.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867712
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#BF6362
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7221;
/* rgb */ color: rgb(175, 114, 33);
/* oklch */ color: oklch(60.3% 0.119 68.5);
Tailwind
colors: {
  custom: {
    50: '#cc9a63',
    500: '#af7221',
    950: '#000000',
  },
}
SCSS
$custom: #af7221;
$custom-light: #cc9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#af7221",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 34.225,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.11926,
    "h": 68.5
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#AF7221
secondary
#648FC8
accent
#88EB3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #AF7221

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

Preview Lab → · Contrast checker → · Palette generator →

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