#AF5F26#AF5F26

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

Color values

HEX#AF5F26
RGBrgb(175, 95, 38)
HSLhsl(25, 64%, 42%)
HSVhsv(25, 78%, 69%)
CMYKcmyk(0%, 45.7%, 78.3%, 31.4%)
CIE-LABlab(48.81, 28.21, 45.06)
CIE-LCHlch(48.81, 53.17, 57.95°)
OKLaboklab(56.92% 0.0762 0.0986)
OKLCHoklch(56.92% 0.125 52.3)
XYZxyz(22.1233, 17.4408, 4.0347)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F26 #2676AF
analogous
#AF2631 #AF5F26 #AFA426
triadic
#AF5F26 #26AF5F #5F26AF
tetradic
#AF5F26 #31AF26 #2676AF #A426AF
square
#AF5F26 #31AF26 #2676AF #A426AF
split-complementary
#AF5F26 #26AFA4 #2631AF
monochromatic
#4A2810 #7D441B #AF5F26 #D57C3D #E09E70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF5F26#FFFFFF#000000##FFFFFF
##AF5F261.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5f26;
/* rgb */ color: rgb(175, 95, 38);
/* oklch */ color: oklch(56.9% 0.125 52.3);
Tailwind
colors: {
  custom: {
    50: '#cd8d64',
    500: '#af5f26',
    950: '#000000',
  },
}
SCSS
$custom: #af5f26;
$custom-light: #cd8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f26",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 38
  },
  "hsl": {
    "h": 24.964,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.12461,
    "h": 52.3
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#AF5F26
secondary
#6AA0C7
accent
#A2E740
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5F26

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

Preview Lab → · Contrast checker → · Palette generator →

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