#AF5F38#AF5F38

#AF5F38 is a mid, moderate orange. Relative luminance 0.176; OKLCH L 57.1% C 0.117 H 45.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF5F38
RGBrgb(175, 95, 56)
HSLhsl(20, 52%, 45%)
HSVhsv(20, 68%, 69%)
CMYKcmyk(0%, 45.7%, 68%, 31.4%)
CIE-LABlab(48.99, 29.11, 36.15)
CIE-LCHlch(48.99, 46.42, 51.16°)
OKLaboklab(57.12% 0.0819 0.0833)
OKLCHoklch(57.12% 0.117 45.5)
XYZxyz(22.4871, 17.5864, 5.9509)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F38 #3888AF
analogous
#AF384C #AF5F38 #AF9A38
triadic
#AF5F38 #38AF5F #5F38AF
tetradic
#AF5F38 #4CAF38 #3888AF #9A38AF
square
#AF5F38 #4CAF38 #3888AF #9A38AF
split-complementary
#AF5F38 #38AF9A #384CAF
monochromatic
#522D1A #814629 #AF5F38 #CA7F5A #D9A388

Accessibility & contrast

On white

4.65
#AF5F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF5F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5F38
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F38#FFFFFF#000000##FFFFFF
##AF5F381.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A34
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#BF4F56
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5f38;
/* rgb */ color: rgb(175, 95, 56);
/* oklch */ color: oklch(57.1% 0.117 45.5);
Tailwind
colors: {
  custom: {
    50: '#cc8d70',
    500: '#af5f38',
    950: '#000000',
  },
}
SCSS
$custom: #af5f38;
$custom-light: #cc8d70;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f38",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 19.664,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.11675,
    "h": 45.5
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#AF5F38
secondary
#80ADC3
accent
#ACDB4D
background
#FDF8F6
surface
#FAF0EC
border
#D3CBC7
text
#140C07
muted
#837D7A

Preview Lab

Preview with #AF5F38

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

Preview Lab → · Contrast checker → · Palette generator →

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