#AF5B2C#AF5B2C

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

Color values

HEX#AF5B2C
RGBrgb(175, 91, 44)
HSLhsl(22, 60%, 43%)
HSVhsv(22, 75%, 69%)
CMYKcmyk(0%, 48%, 74.9%, 31.4%)
CIE-LABlab(47.98, 30.64, 41.32)
CIE-LCHlch(47.98, 51.44, 53.45°)
OKLaboklab(56.3% 0.0844 0.0921)
OKLCHoklch(56.3% 0.125 47.5)
XYZxyz(21.8769, 16.7805, 4.4693)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B2C #2C80AF
analogous
#AF2C3E #AF5B2C #AF9C2C
triadic
#AF5B2C #2CAF5B #5B2CAF
tetradic
#AF5B2C #3EAF2C #2C80AF #9C2CAF
square
#AF5B2C #3EAF2C #2C80AF #9C2CAF
split-complementary
#AF5B2C #2CAF9C #2C3EAF
monochromatic
#4D2813 #7E4220 #AF5B2C #D17947 #DD9C78

Accessibility & contrast

On white

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

On black

4.36
#AF5B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF5B2C#FFFFFF#000000##FFFFFF
##AF5B2C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736626
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#C04951
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5b2c;
/* rgb */ color: rgb(175, 91, 44);
/* oklch */ color: oklch(56.3% 0.125 47.5);
Tailwind
colors: {
  custom: {
    50: '#cd8b68',
    500: '#af5b2c',
    950: '#000000',
  },
}
SCSS
$custom: #af5b2c;
$custom-light: #cd8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b2c",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 21.527,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.563,
    "c": 0.12491,
    "h": 47.5
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#AF5B2C
secondary
#72A7C5
accent
#AAE345
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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