#AF7821#AF7821

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

Color values

HEX#AF7821
RGBrgb(175, 120, 33)
HSLhsl(37, 68%, 41%)
HSVhsv(37, 81%, 69%)
CMYKcmyk(0%, 31.4%, 81.1%, 31.4%)
CIE-LABlab(54.72, 14.13, 52.72)
CIE-LCHlch(54.72, 54.58, 75.00°)
OKLaboklab(61.48% 0.0339 0.1139)
OKLCHoklch(61.48% 0.119 73.4)
XYZxyz(24.6721, 22.6589, 4.5128)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7821 #2158AF
analogous
#AF3121 #AF7821 #9FAF21
triadic
#AF7821 #21AF78 #7821AF
tetradic
#AF7821 #21AF31 #2158AF #AF219F
square
#AF7821 #21AF31 #2158AF #AF219F
split-complementary
#AF7821 #219FAF #3121AF
monochromatic
#48310E #7C5517 #AF7821 #D99934 #E3B368

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7821#FFFFFF#000000##000000
##AF78211.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)
#8B7B10
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#BF6A67
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7821;
/* rgb */ color: rgb(175, 120, 33);
/* oklch */ color: oklch(61.5% 0.119 73.4);
Tailwind
colors: {
  custom: {
    50: '#cc9e64',
    500: '#af7821',
    950: '#000000',
  },
}
SCSS
$custom: #af7821;
$custom-light: #cc9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af7821",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 33
  },
  "hsl": {
    "h": 36.761,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.11883,
    "h": 73.4
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#AF7821
secondary
#648BC8
accent
#80EB3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7821

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

Preview Lab → · Contrast checker → · Palette generator →

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