#AF5F23#AF5F23

#AF5F23 is a mid, vivid orange. Relative luminance 0.174; OKLCH L 56.9% C 0.126 H 53.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF5F23
RGBrgb(175, 95, 35)
HSLhsl(26, 67%, 41%)
HSVhsv(26, 80%, 69%)
CMYKcmyk(0%, 45.7%, 80%, 31.4%)
CIE-LABlab(48.79, 28.09, 46.40)
CIE-LCHlch(48.79, 54.24, 58.81°)
OKLaboklab(56.89% 0.0754 0.1007)
OKLCHoklch(56.89% 0.126 53.2)
XYZxyz(22.0768, 17.4223, 3.7900)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F23 #2373AF
analogous
#AF232D #AF5F23 #AFA523
triadic
#AF5F23 #23AF5F #5F23AF
tetradic
#AF5F23 #2DAF23 #2373AF #A523AF
square
#AF5F23 #2DAF23 #2373AF #A523AF
split-complementary
#AF5F23 #23AFA5 #232DAF
monochromatic
#49280F #7C4319 #AF5F23 #D77C38 #E19E6B

Accessibility & contrast

On white

4.68
#AF5F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF5F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F23
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F23#FFFFFF#000000##FFFFFF
##AF5F231.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691A
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#C04E53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f23;
/* rgb */ color: rgb(175, 95, 35);
/* oklch */ color: oklch(56.9% 0.126 53.2);
Tailwind
colors: {
  custom: {
    50: '#cd8d62',
    500: '#af5f23',
    950: '#000000',
  },
}
SCSS
$custom: #af5f23;
$custom-light: #cd8d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f23",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 25.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.12579,
    "h": 53.2
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#AF5F23
secondary
#669EC7
accent
#A0EA3E
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C05
muted
#837D7A

Preview Lab

Preview with #AF5F23

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

Preview Lab → · Contrast checker → · Palette generator →

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