#AF5F2A#AF5F2A

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

Color values

HEX#AF5F2A
RGBrgb(175, 95, 42)
HSLhsl(24, 61%, 43%)
HSVhsv(24, 76%, 69%)
CMYKcmyk(0%, 45.7%, 76%, 31.4%)
CIE-LABlab(48.84, 28.38, 43.20)
CIE-LCHlch(48.84, 51.69, 56.70°)
OKLaboklab(56.96% 0.0773 0.0956)
OKLCHoklch(56.96% 0.123 51.1)
XYZxyz(22.1913, 17.4681, 4.3931)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F2A #2A7AAF
analogous
#AF2A37 #AF5F2A #AFA22A
triadic
#AF5F2A #2AAF5F #5F2AAF
tetradic
#AF5F2A #37AF2A #2A7AAF #A22AAF
square
#AF5F2A #37AF2A #2A7AAF #A22AAF
split-complementary
#AF5F2A #2AAFA2 #2A37AF
monochromatic
#4C2912 #7E441E #AF5F2A #D27D44 #DE9F75

Accessibility & contrast

On white

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

On black

4.49
#AF5F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF5F2A#FFFFFF#000000##FFFFFF
##AF5F2A1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5f2a;
/* rgb */ color: rgb(175, 95, 42);
/* oklch */ color: oklch(57.0% 0.123 51.1);
Tailwind
colors: {
  custom: {
    50: '#cd8d67',
    500: '#af5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #af5f2a;
$custom-light: #cd8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f2a",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 23.91,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.12296,
    "h": 51.1
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#AF5F2A
secondary
#6FA3C6
accent
#A4E443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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