#AF5E2A#AF5E2A

#AF5E2A is a mid, vivid orange. Relative luminance 0.173; OKLCH L 56.8% C 0.124 H 50.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF5E2A
RGBrgb(175, 94, 42)
HSLhsl(23, 61%, 43%)
HSVhsv(23, 76%, 69%)
CMYKcmyk(0%, 46.3%, 76%, 31.4%)
CIE-LABlab(48.62, 28.92, 42.98)
CIE-LCHlch(48.62, 51.80, 56.06°)
OKLaboklab(56.79% 0.0789 0.0952)
OKLCHoklch(56.79% 0.124 50.3)
XYZxyz(22.1018, 17.2891, 4.3632)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5E2A #2A7BAF
analogous
#AF2A38 #AF5E2A #AFA12A
triadic
#AF5E2A #2AAF5E #5E2AAF
tetradic
#AF5E2A #38AF2A #2A7BAF #A12AAF
square
#AF5E2A #38AF2A #2A7BAF #A12AAF
split-complementary
#AF5E2A #2AAFA1 #2A38AF
monochromatic
#4C2912 #7E431E #AF5E2A #D27C44 #DE9E75

Accessibility & contrast

On white

4.71
#AF5E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF5E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5E2A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5E2A#FFFFFF#000000##FFFFFF
##AF5E2A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756824
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#C04D53
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5e2a;
/* rgb */ color: rgb(175, 94, 42);
/* oklch */ color: oklch(56.8% 0.124 50.3);
Tailwind
colors: {
  custom: {
    50: '#cd8c67',
    500: '#af5e2a',
    950: '#000000',
  },
}
SCSS
$custom: #af5e2a;
$custom-light: #cd8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#af5e2a",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 23.459,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.12362,
    "h": 50.3
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#AF5E2A
secondary
#6FA4C6
accent
#A5E443
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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