#AF5228#AF5228

#AF5228 is a mid, vivid orange. Relative luminance 0.153; OKLCH L 54.8% C 0.134 H 43.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF5228
RGBrgb(175, 82, 40)
HSLhsl(19, 63%, 42%)
HSVhsv(19, 77%, 69%)
CMYKcmyk(0%, 53.1%, 77.1%, 31.4%)
CIE-LABlab(46.05, 35.21, 41.33)
CIE-LCHlch(46.05, 54.30, 49.57°)
OKLaboklab(54.81% 0.0976 0.0911)
OKLCHoklch(54.81% 0.134 43)
XYZxyz(21.0816, 15.3044, 3.8510)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5228 #2885AF
analogous
#AF2841 #AF5228 #AF9628
triadic
#AF5228 #28AF52 #5228AF
tetradic
#AF5228 #41AF28 #2885AF #9628AF
square
#AF5228 #41AF28 #2885AF #9628AF
split-complementary
#AF5228 #28AF96 #2841AF
monochromatic
#4B2311 #7D3B1D #AF5228 #D46E41 #DF9473

Accessibility & contrast

On white

5.17
#AF5228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF5228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5228
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5228#FFFFFF#000000##FFFFFF
##AF52281.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6023
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#C03E49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5228;
/* rgb */ color: rgb(175, 82, 40);
/* oklch */ color: oklch(54.8% 0.134 43.0);
Tailwind
colors: {
  custom: {
    50: '#ce8564',
    500: '#af5228',
    950: '#000000',
  },
}
SCSS
$custom: #af5228;
$custom-light: #ce8564;
$custom-dark: #000000;
JSON
{
  "hex": "#af5228",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 18.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.13355,
    "h": 43
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#AF5228
secondary
#6DAAC6
accent
#B3E642
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5228

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

Preview Lab → · Contrast checker → · Palette generator →

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