#AF5123#AF5123

#AF5123 is a mid, vivid orange. Relative luminance 0.151; OKLCH L 54.6% C 0.136 H 44.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF5123
RGBrgb(175, 81, 35)
HSLhsl(20, 67%, 41%)
HSVhsv(20, 80%, 69%)
CMYKcmyk(0%, 53.7%, 80%, 31.4%)
CIE-LABlab(45.80, 35.53, 43.53)
CIE-LCHlch(45.80, 56.19, 50.78°)
OKLaboklab(54.61% 0.0978 0.0945)
OKLCHoklch(54.61% 0.136 44)
XYZxyz(20.9271, 15.1229, 3.4068)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5123 #2381AF
analogous
#AF233B #AF5123 #AF9723
triadic
#AF5123 #23AF51 #5123AF
tetradic
#AF5123 #3BAF23 #2381AF #9723AF
square
#AF5123 #3BAF23 #2381AF #9723AF
split-complementary
#AF5123 #23AF97 #233BAF
monochromatic
#49220F #7C3919 #AF5123 #D76C38 #E1926B

Accessibility & contrast

On white

5.22
#AF5123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF5123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5123
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5123#FFFFFF#000000##FFFFFF
##AF51231.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1D
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#C03C48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af5123;
/* rgb */ color: rgb(175, 81, 35);
/* oklch */ color: oklch(54.6% 0.136 44.0);
Tailwind
colors: {
  custom: {
    50: '#ce8461',
    500: '#af5123',
    950: '#000000',
  },
}
SCSS
$custom: #af5123;
$custom-light: #ce8461;
$custom-dark: #000000;
JSON
{
  "hex": "#af5123",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 35
  },
  "hsl": {
    "h": 19.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.13599,
    "h": 44
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#AF5123
secondary
#66A8C7
accent
#B1EA3E
background
#FDF8F5
surface
#FBEFEA
border
#D4CAC6
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5123

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

Preview Lab → · Contrast checker → · Palette generator →

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