#AF5F2C#AF5F2C

#AF5F2C is a mid, vivid orange. Relative luminance 0.175; OKLCH L 57.0% C 0.122 H 50.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF5F2C
RGBrgb(175, 95, 44)
HSLhsl(23, 60%, 43%)
HSVhsv(23, 75%, 69%)
CMYKcmyk(0%, 45.7%, 74.9%, 31.4%)
CIE-LABlab(48.86, 28.47, 42.24)
CIE-LCHlch(48.86, 50.94, 56.02°)
OKLaboklab(56.97% 0.0779 0.094)
OKLCHoklch(56.97% 0.122 50.4)
XYZxyz(22.2280, 17.4827, 4.5863)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F2C #2C7CAF
analogous
#AF2C3A #AF5F2C #AFA02C
triadic
#AF5F2C #2CAF5F #5F2CAF
tetradic
#AF5F2C #3AAF2C #2C7CAF #A02CAF
square
#AF5F2C #3AAF2C #2C7CAF #A02CAF
split-complementary
#AF5F2C #2CAFA0 #2C3AAF
monochromatic
#4D2A13 #7E4420 #AF5F2C #D17D47 #DDA078

Accessibility & contrast

On white

4.67
#AF5F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF5F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F2C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F2C#FFFFFF#000000##FFFFFF
##AF5F2C1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#C04E54
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f2c;
/* rgb */ color: rgb(175, 95, 44);
/* oklch */ color: oklch(57.0% 0.122 50.4);
Tailwind
colors: {
  custom: {
    50: '#cd8d68',
    500: '#af5f2c',
    950: '#000000',
  },
}
SCSS
$custom: #af5f2c;
$custom-light: #cd8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f2c",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 23.359,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.1221,
    "h": 50.4
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#AF5F2C
secondary
#72A5C5
accent
#A5E345
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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