#AF5B27#AF5B27

#AF5B27 is a mid, vivid orange. Relative luminance 0.167; OKLCH L 56.3% C 0.127 H 49.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF5B27
RGBrgb(175, 91, 39)
HSLhsl(23, 64%, 42%)
HSVhsv(23, 78%, 69%)
CMYKcmyk(0%, 48%, 77.7%, 31.4%)
CIE-LABlab(47.94, 30.42, 43.73)
CIE-LCHlch(47.94, 53.27, 55.18°)
OKLaboklab(56.25% 0.0829 0.096)
OKLCHoklch(56.25% 0.127 49.2)
XYZxyz(21.7885, 16.7452, 4.0038)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B27 #277BAF
analogous
#AF2737 #AF5B27 #AF9F27
triadic
#AF5B27 #27AF5B #5B27AF
tetradic
#AF5B27 #37AF27 #277BAF #9F27AF
square
#AF5B27 #37AF27 #277BAF #9F27AF
split-complementary
#AF5B27 #27AF9F #2737AF
monochromatic
#4B2711 #7D411C #AF5B27 #D4783F #DF9B71

Accessibility & contrast

On white

4.83
#AF5B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF5B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5B27
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5B27#FFFFFF#000000##FFFFFF
##AF5B271.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#C04950
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5b27;
/* rgb */ color: rgb(175, 91, 39);
/* oklch */ color: oklch(56.3% 0.127 49.2);
Tailwind
colors: {
  custom: {
    50: '#cd8a64',
    500: '#af5b27',
    950: '#000000',
  },
}
SCSS
$custom: #af5b27;
$custom-light: #cd8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b27",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 39
  },
  "hsl": {
    "h": 22.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.12688,
    "h": 49.2
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#AF5B27
secondary
#6BA4C6
accent
#A7E741
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150C06
muted
#837D7A

Preview Lab

Preview with #AF5B27

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

Preview Lab → · Contrast checker → · Palette generator →

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