#AF5A2D#AF5A2D

#AF5A2D is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.1% C 0.125 H 46.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF5A2D
RGBrgb(175, 90, 45)
HSLhsl(21, 59%, 43%)
HSVhsv(21, 74%, 69%)
CMYKcmyk(0%, 48.6%, 74.3%, 31.4%)
CIE-LABlab(47.78, 31.22, 40.60)
CIE-LCHlch(47.78, 51.21, 52.44°)
OKLaboklab(56.15% 0.0864 0.0907)
OKLCHoklch(56.15% 0.125 46.4)
XYZxyz(21.8110, 16.6183, 4.5412)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A2D #2D82AF
analogous
#AF2D41 #AF5A2D #AF9B2D
triadic
#AF5A2D #2DAF5A #5A2DAF
tetradic
#AF5A2D #41AF2D #2D82AF #9B2DAF
square
#AF5A2D #41AF2D #2D82AF #9B2DAF
split-complementary
#AF5A2D #2DAF9B #2D41AF
monochromatic
#4E2814 #7E4120 #AF5A2D #D07849 #DD9C7A

Accessibility & contrast

On white

4.86
#AF5A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF5A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A2D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A2D#FFFFFF#000000##FFFFFF
##AF5A2D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#C04850
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5a2d;
/* rgb */ color: rgb(175, 90, 45);
/* oklch */ color: oklch(56.1% 0.125 46.4);
Tailwind
colors: {
  custom: {
    50: '#cd8a68',
    500: '#af5a2d',
    950: '#000000',
  },
}
SCSS
$custom: #af5a2d;
$custom-light: #cd8a68;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a2d",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 20.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.12527,
    "h": 46.4
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#AF5A2D
secondary
#73A9C5
accent
#ACE246
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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