Skip to content

#af5f18

a dark, electric orange · warm · closest name: Chocolate

RGB
175, 95, 24
HSL
28°, 76%, 39%
CMYK
0, 46, 86, 31
Luminance
0.1736

At a glance

Every number on this page in one read: what #af5f18 is made of, how bright it looks, and which way it leans.

Hex
#af5f18
Hue
28°
orange
Saturation
76%
electric
Lightness
39%
dark
Brightness
69%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1736
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
White
4.69:1
Closest name
Chocolate
ΔE2000 8.2
Where it sits
Hue28° of 360°
Saturation76%
Lightness39%
Temperature
Warm ← → Cool1% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af5f18
RGBrgb(175, 95, 24)
HSLhsl(28, 76%, 39%)
CMYKcmyk(0%, 46%, 86%, 31%)
LABlab(48.7 27.8 50.8)
LCHlch(48.7 57.9 61.3)
OKLCHoklch(0.568 0.130 55.8)
Decimal11493144
Display P3color(display-p3 0.686 0.373 0.094)

Copy-ready code

/* CSS */
color: #af5f18;
background-color: #af5f18;
/* Tailwind (arbitrary) */
class="text-[#af5f18] bg-[#af5f18]"
/* SCSS */
$brand: #af5f18;
/* SwiftUI */
Color(red: 0.686, green: 0.373, blue: 0.094)
/* Android */
Color.parseColor("#af5f18")
/* Flutter */
Color(0xFFAF5F18)
/* Python / OpenCV (BGR) */
(24, 95, 175)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #af5f18 · 4.69:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.69:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.47:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af5f18 as text scores 4.69:1 on white and 4.47:1 on black.

Accessibility — WCAG contrast

Aa
#af5f18 on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#af5f18 on black: 4.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #776908
deuteranopia · #8A7B17
tritanopia · #C04D52

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af5f18 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF7F3
#F9EFE7
#F4DDC8
#F1C49C
#EBA76B
#E48A3A
#D7751D
#af5f18
#904E14
#683B12
#41250C
Base = 700Lightest = 50 · #FCF7F3Darkest = 950 · #41250C
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EFE7;
  --brand-200: #F4DDC8;
  --brand-300: #F1C49C;
  --brand-400: #EBA76B;
  --brand-500: #E48A3A;
  --brand-600: #D7751D;
  --brand-700: #af5f18;
  --brand-800: #904E14;
  --brand-900: #683B12;
  --brand-950: #41250C;
  --brand: #af5f18;
  --brand-ink: #ffffff;
}

Colors that work with #af5f18

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF7F4
Tinted page background
Border#EDD5C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#1490B3
Second voice, not a rival
Dark variant#703D0F
Hover, pressed, headers
Light variant#FCF2E9
Selected rows, tints
Dark surface#241C14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #af5f18

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1868AF
Analogous left#AF181C
Analogous right#AFAA18
Split-complement 1#18AFAA
Split-complement 2#181CAF
Triadic 1#18AF5F
Triadic 2#5F18AF
Tetradic#1CAF18

RGB percentages

Red68.6%
Green37.3%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow86.3%
Key (black)31.4%

Color previews

#af5f18 text on a black background

contrast 4.47:1

Card sample

#af5f18 text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #af5f18;
Background color
Panel with #af5f18 background
background-color: #af5f18;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #af5f18;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 95, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 95, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af5f18;
background: linear-gradient(135deg, #af5f18, #9AAF18);

Monochromatic scale

Palettes built from #af5f18

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#af5f18 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#af5f18, answered

What color is #af5f18?

#af5f18 is a dark electric orange, closest to Chocolate (ΔE2000 8.2). It sits at 28° on the hue wheel with 76% saturation and 39% lightness, which reads as warm.

What is the RGB value of #af5f18?

rgb(175, 95, 24) — 175 red, 95 green and 24 blue out of 255, or 68.6% / 37.3% / 9.4% by channel.

Is #af5f18 a light or a dark color?

It is a dark color. Relative luminance is 0.1736 and perceived brightness is 47%, so white text on it reaches 4.69:1.

Should I use black or white text on #af5f18?

White. It scores 4.69:1 against #af5f18, versus 4.47:1 for black — AA at any size.

What is the complementary color of #af5f18?

#1868AF sits directly opposite on the wheel. Softer options are the split-complements #18AFAA and #181CAF, which give the same contrast with far less vibration.

What colors go well with #af5f18?

For interface work: #FAF7F4 as the surface, #EDD5C0 for borders, #9B704B for secondary text, #1490B3 as an accent and #703D0F for hover and pressed states. For a palette, the analogous pair #AF181C and #AFAA18 stays calm, while #1868AF is the loudest partner.

What is #af5f18 in CMYK for printing?

cmyk(0%, 46%, 86%, 31%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #af5f18 warm or cool?

Warm — it scores 1 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C5661B; nudged cooler, #B12616.

Work with #af5f18 in the Color Lab