#AF5B2A#AF5B2A

#AF5B2A is a mid, vivid orange. Relative luminance 0.168; OKLCH L 56.3% C 0.126 H 48.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF5B2A
RGBrgb(175, 91, 42)
HSLhsl(22, 61%, 43%)
HSVhsv(22, 76%, 69%)
CMYKcmyk(0%, 48%, 76%, 31.4%)
CIE-LABlab(47.96, 30.54, 42.30)
CIE-LCHlch(47.96, 52.18, 54.17°)
OKLaboklab(56.28% 0.0838 0.0937)
OKLCHoklch(56.28% 0.126 48.2)
XYZxyz(21.8402, 16.7659, 4.2760)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B2A #2A7EAF
analogous
#AF2A3C #AF5B2A #AF9D2A
triadic
#AF5B2A #2AAF5B #5B2AAF
tetradic
#AF5B2A #3CAF2A #2A7EAF #9D2AAF
square
#AF5B2A #3CAF2A #2A7EAF #9D2AAF
split-complementary
#AF5B2A #2AAF9D #2A3CAF
monochromatic
#4C2812 #7E411E #AF5B2A #D27844 #DE9C75

Accessibility & contrast

On white

4.82
#AF5B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF5B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5B2A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5B2A#FFFFFF#000000##FFFFFF
##AF5B2A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736624
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#C04951
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5b2a;
/* rgb */ color: rgb(175, 91, 42);
/* oklch */ color: oklch(56.3% 0.126 48.2);
Tailwind
colors: {
  custom: {
    50: '#cd8a66',
    500: '#af5b2a',
    950: '#000000',
  },
}
SCSS
$custom: #af5b2a;
$custom-light: #cd8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b2a",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 22.105,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.12571,
    "h": 48.2
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#AF5B2A
secondary
#6FA6C6
accent
#A9E443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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