#AF5827#AF5827

#AF5827 is a mid, vivid orange. Relative luminance 0.162; OKLCH L 55.8% C 0.129 H 47.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF5827
RGBrgb(175, 88, 39)
HSLhsl(22, 64%, 42%)
HSVhsv(22, 78%, 69%)
CMYKcmyk(0%, 49.7%, 77.7%, 31.4%)
CIE-LABlab(47.29, 32.02, 43.08)
CIE-LCHlch(47.29, 53.68, 53.38°)
OKLaboklab(55.76% 0.0878 0.0946)
OKLCHoklch(55.76% 0.129 47.2)
XYZxyz(21.5372, 16.2425, 3.9200)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5827 #277EAF
analogous
#AF273A #AF5827 #AF9C27
triadic
#AF5827 #27AF58 #5827AF
tetradic
#AF5827 #3AAF27 #277EAF #9C27AF
square
#AF5827 #3AAF27 #277EAF #9C27AF
split-complementary
#AF5827 #27AF9C #273AAF
monochromatic
#4B2611 #7D3F1C #AF5827 #D4753F #DF9971

Accessibility & contrast

On white

4.94
#AF5827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF5827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5827
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5827#FFFFFF#000000##FFFFFF
##AF58271.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716421
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#C0454E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5827;
/* rgb */ color: rgb(175, 88, 39);
/* oklch */ color: oklch(55.8% 0.129 47.2);
Tailwind
colors: {
  custom: {
    50: '#cd8864',
    500: '#af5827',
    950: '#000000',
  },
}
SCSS
$custom: #af5827;
$custom-light: #cd8864;
$custom-dark: #000000;
JSON
{
  "hex": "#af5827",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 39
  },
  "hsl": {
    "h": 21.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.12907,
    "h": 47.2
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#AF5827
secondary
#6BA6C6
accent
#ABE741
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5827

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

Preview Lab → · Contrast checker → · Palette generator →

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