#AF7822#AF7822

#AF7822 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.118 H 73.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF7822
RGBrgb(175, 120, 34)
HSLhsl(37, 67%, 41%)
HSVhsv(37, 81%, 69%)
CMYKcmyk(0%, 31.4%, 80.6%, 31.4%)
CIE-LABlab(54.73, 14.16, 52.35)
CIE-LCHlch(54.73, 54.23, 74.86°)
OKLaboklab(61.49% 0.0341 0.1133)
OKLCHoklch(61.49% 0.118 73.3)
XYZxyz(24.6863, 22.6646, 4.5876)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7822 #2259AF
analogous
#AF3222 #AF7822 #9FAF22
triadic
#AF7822 #22AF78 #7822AF
tetradic
#AF7822 #22AF32 #2259AF #AF229F
square
#AF7822 #22AF32 #2259AF #AF229F
split-complementary
#AF7822 #229FAF #3222AF
monochromatic
#49320E #7C5518 #AF7822 #D89936 #E2B369

Accessibility & contrast

On white

3.80
#AF7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AF7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7822
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7822#FFFFFF#000000##000000
##AF78221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#BF6A67
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7822;
/* rgb */ color: rgb(175, 120, 34);
/* oklch */ color: oklch(61.5% 0.118 73.3);
Tailwind
colors: {
  custom: {
    50: '#cc9e64',
    500: '#af7822',
    950: '#000000',
  },
}
SCSS
$custom: #af7822;
$custom-light: #cc9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af7822",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 36.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.11836,
    "h": 73.3
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#AF7822
secondary
#658CC8
accent
#81EA3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7822

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

Preview Lab → · Contrast checker → · Palette generator →

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