#AF5021#AF5021

#AF5021 is a mid, vivid orange. Relative luminance 0.150; OKLCH L 54.4% C 0.137 H 44.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF5021
RGBrgb(175, 80, 33)
HSLhsl(20, 68%, 41%)
HSVhsv(20, 81%, 69%)
CMYKcmyk(0%, 54.3%, 81.1%, 31.4%)
CIE-LABlab(45.58, 35.98, 44.27)
CIE-LCHlch(45.58, 57.04, 50.90°)
OKLaboklab(54.44% 0.0988 0.0955)
OKLCHoklch(54.44% 0.137 44)
XYZxyz(20.8245, 14.9638, 3.2303)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5021 #2180AF
analogous
#AF2139 #AF5021 #AF9721
triadic
#AF5021 #21AF50 #5021AF
tetradic
#AF5021 #39AF21 #2180AF #9721AF
square
#AF5021 #39AF21 #2180AF #9721AF
split-complementary
#AF5021 #21AF97 #2139AF
monochromatic
#48210E #7C3817 #AF5021 #D96B34 #E39068

Accessibility & contrast

On white

5.26
#AF5021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF5021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5021
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5021#FFFFFF#000000##FFFFFF
##AF50211.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#C03B46
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af5021;
/* rgb */ color: rgb(175, 80, 33);
/* oklch */ color: oklch(54.4% 0.137 44.0);
Tailwind
colors: {
  custom: {
    50: '#ce8360',
    500: '#af5021',
    950: '#000000',
  },
}
SCSS
$custom: #af5021;
$custom-light: #ce8360;
$custom-dark: #000000;
JSON
{
  "hex": "#af5021",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 33
  },
  "hsl": {
    "h": 19.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.13742,
    "h": 44
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#AF5021
secondary
#64A7C8
accent
#B1EB3D
background
#FDF8F5
surface
#FBEFEA
border
#D4CAC6
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5021

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

Preview Lab → · Contrast checker → · Palette generator →

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