#AF7222#AF7222

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

Color values

HEX#AF7222
RGBrgb(175, 114, 34)
HSLhsl(34, 67%, 41%)
HSVhsv(34, 81%, 69%)
CMYKcmyk(0%, 34.9%, 80.6%, 31.4%)
CIE-LABlab(53.24, 17.53, 50.98)
CIE-LCHlch(53.24, 53.91, 71.03°)
OKLaboklab(60.33% 0.0439 0.1104)
OKLCHoklch(60.33% 0.119 68.3)
XYZxyz(23.9872, 21.2664, 4.3546)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7222 #225FAF
analogous
#AF2C22 #AF7222 #A5AF22
triadic
#AF7222 #22AF72 #7222AF
tetradic
#AF7222 #22AF2C #225FAF #AF22A5
square
#AF7222 #22AF2C #225FAF #AF22A5
split-complementary
#AF7222 #22A5AF #2C22AF
monochromatic
#492F0E #7C5118 #AF7222 #D89236 #E2AE69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7222#FFFFFF#000000##000000
##AF72221.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)
#867714
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#BF6362
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7222;
/* rgb */ color: rgb(175, 114, 34);
/* oklch */ color: oklch(60.3% 0.119 68.3);
Tailwind
colors: {
  custom: {
    50: '#cc9a64',
    500: '#af7222',
    950: '#000000',
  },
}
SCSS
$custom: #af7222;
$custom-light: #cc9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#af7222",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 34.043,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.11881,
    "h": 68.3
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#AF7222
secondary
#6590C8
accent
#88EA3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #AF7222

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

Preview Lab → · Contrast checker → · Palette generator →

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