#AF542F#AF542F

#AF542F is a mid, vivid orange. Relative luminance 0.157; OKLCH L 55.2% C 0.129 H 41.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF542F
RGBrgb(175, 84, 47)
HSLhsl(17, 58%, 44%)
HSVhsv(17, 73%, 69%)
CMYKcmyk(0%, 52%, 73.1%, 31.4%)
CIE-LABlab(46.53, 34.49, 38.22)
CIE-LCHlch(46.53, 51.48, 47.93°)
OKLaboklab(55.2% 0.0967 0.0861)
OKLCHoklch(55.2% 0.129 41.7)
XYZxyz(21.3646, 15.6625, 4.5869)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF542F #2F8AAF
analogous
#AF2F4A #AF542F #AF942F
triadic
#AF542F #2FAF54 #542FAF
tetradic
#AF542F #4AAF2F #2F8AAF #942FAF
square
#AF542F #4AAF2F #2F8AAF #942FAF
split-complementary
#AF542F #2FAF94 #2F4AAF
monochromatic
#4F2615 #7F3D22 #AF542F #CF724C #DC987C

Accessibility & contrast

On white

5.08
#AF542F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF542F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF542F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF542F#FFFFFF#000000##FFFFFF
##AF542F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622B
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#C0414C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af542f;
/* rgb */ color: rgb(175, 84, 47);
/* oklch */ color: oklch(55.2% 0.129 41.7);
Tailwind
colors: {
  custom: {
    50: '#cd8669',
    500: '#af542f',
    950: '#000000',
  },
}
SCSS
$custom: #af542f;
$custom-light: #cd8669;
$custom-dark: #000000;
JSON
{
  "hex": "#af542f",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 17.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.12942,
    "h": 41.7
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#AF542F
secondary
#75AEC4
accent
#B4E147
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF542F

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

Preview Lab → · Contrast checker → · Palette generator →

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