Skip to content

#af4902

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

RGB
175, 73, 2
HSL
25°, 98%, 35%
CMYK
0, 58, 99, 31
Luminance
0.1388

At a glance

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

Hex
#af4902
Hue
25°
orange
Saturation
98%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1388
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
White
5.56:1
Closest name
Sienna
ΔE2000 6.1
Where it sits
Hue25° of 360°
Saturation98%
Lightness35%
Temperature
Warm ← → Cool3% 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#af4902
RGBrgb(175, 73, 2)
HSLhsl(25, 98%, 35%)
CMYKcmyk(0%, 58%, 99%, 31%)
LABlab(44.1 38.9 53.8)
LCHlch(44.1 66.3 54.2)
OKLCHoklch(0.532 0.149 45.8)
Decimal11487490
Display P3color(display-p3 0.686 0.286 0.008)

Copy-ready code

/* CSS */
color: #af4902;
background-color: #af4902;
/* Tailwind (arbitrary) */
class="text-[#af4902] bg-[#af4902]"
/* SCSS */
$brand: #af4902;
/* SwiftUI */
Color(red: 0.686, green: 0.286, blue: 0.008)
/* Android */
Color.parseColor("#af4902")
/* Flutter */
Color(0xFFAF4902)
/* Python / OpenCV (BGR) */
(2, 73, 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 #af4902 · 5.56:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.56:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.78:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af4902 as text scores 5.56:1 on white and 3.78:1 on black.

Accessibility — WCAG contrast

Aa
#af4902 on white: 5.56:1
AA ✓ pass · AA-large · AAA
Aa
#af4902 on black: 3.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #675A00
deuteranopia · #807100
tritanopia · #C12F3E

Color scale — 50 to 950

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

#FDF6F1
#FCEEE4
#FBD9C1
#FEBD90
#FD9C59
#FC7B21
#F26503
#CA5402
#af4902
#743306
#492004
Base = 800Lightest = 50 · #FDF6F1Darkest = 950 · #492004
:root {
  --brand-50: #FDF6F1;
  --brand-100: #FCEEE4;
  --brand-200: #FBD9C1;
  --brand-300: #FEBD90;
  --brand-400: #FD9C59;
  --brand-500: #FC7B21;
  --brand-600: #F26503;
  --brand-700: #CA5402;
  --brand-800: #af4902;
  --brand-900: #743306;
  --brand-950: #492004;
  --brand: #af4902;
  --brand-ink: #ffffff;
}

Colors that work with #af4902

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#EDD2C0
Hairlines and dividers
Muted text#9B6C4B
Captions on the surface
Accent#0095B1
Second voice, not a rival
Dark variant#7E3501
Hover, pressed, headers
Light variant#FFF0E6
Selected rows, tints
Dark surface#241B14
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 #af4902

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#0268AF
Analogous left#AF0212
Analogous right#AF9F02
Split-complement 1#02AF9F
Split-complement 2#0212AF
Triadic 1#02AF49
Triadic 2#4902AF
Tetradic#12AF02

RGB percentages

Red68.6%
Green28.6%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta58.3%
Yellow98.9%
Key (black)31.4%

Color previews

#af4902 text on a black background

contrast 3.78:1

Card sample

#af4902 text on a white background

contrast 5.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 73, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 73, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af4902;
background: linear-gradient(135deg, #af4902, #A2AF02);

Monochromatic scale

Palettes built from #af4902

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.

#af4902 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.

#af4902, answered

What color is #af4902?

#af4902 is a dark electric orange, closest to Sienna (ΔE2000 6.1). It sits at 25° on the hue wheel with 98% saturation and 35% lightness, which reads as warm.

What is the RGB value of #af4902?

rgb(175, 73, 2) — 175 red, 73 green and 2 blue out of 255, or 68.6% / 28.6% / 0.8% by channel.

Is #af4902 a light or a dark color?

It is a dark color. Relative luminance is 0.1388 and perceived brightness is 43%, so white text on it reaches 5.56:1.

Should I use black or white text on #af4902?

White. It scores 5.56:1 against #af4902, versus 3.78:1 for black — AA at any size.

What is the complementary color of #af4902?

#0268AF sits directly opposite on the wheel. Softer options are the split-complements #02AF9F and #0212AF, which give the same contrast with far less vibration.

What colors go well with #af4902?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6C4B for secondary text, #0095B1 as an accent and #7E3501 for hover and pressed states. For a palette, the analogous pair #AF0212 and #AF9F02 stays calm, while #0268AF is the loudest partner.

What is #af4902 in CMYK for printing?

cmyk(0%, 58%, 99%, 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 #af4902 warm or cool?

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

Work with #af4902 in the Color Lab