#af6301
a dark, electric orange · warm · closest name: Chocolate
At a glance
Every number on this page in one read: what #af6301 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #af6301 |
| RGB | rgb(175, 99, 1) |
| HSL | hsl(34, 99%, 35%) |
| CMYK | cmyk(0%, 43%, 99%, 31%) |
| LAB | lab(49.5 25.1 57.4) |
| LCH | lch(49.5 62.6 66.3) |
| OKLCH | oklch(0.574 0.133 61.4) |
| Decimal | 11494145 |
| Display P3 | color(display-p3 0.686 0.388 0.004) |
Copy-ready code
/* CSS */
color: #af6301;
background-color: #af6301;
/* Tailwind (arbitrary) */
class="text-[#af6301] bg-[#af6301]"
/* SCSS */
$brand: #af6301;
/* SwiftUI */
Color(red: 0.686, green: 0.388, blue: 0.004)
/* Android */
Color.parseColor("#af6301")
/* Flutter */
Color(0xFFAF6301)
/* Python / OpenCV (BGR) */
(1, 99, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #af6301 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.
:root {
--brand-50: #FEF8F1;
--brand-100: #FCF1E3;
--brand-200: #FBE2C0;
--brand-300: #FECE8F;
--brand-400: #FEB558;
--brand-500: #FE9D20;
--brand-600: #F38A01;
--brand-700: #CB7301;
--brand-800: #af6301;
--brand-900: #754406;
--brand-950: #492B03;
--brand: #af6301;
--brand-ink: #000000;
}Colors that work with #af6301
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af6301
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #014DAF | Directly opposite — maximum tension | |
| Analogous left | #AF0C01 | Neighbour, quieter | |
| Analogous right | #A4AF01 | Neighbour, quieter | |
| Split-complement 1 | #01A4AF | Contrast without the clash | |
| Split-complement 2 | #0C01AF | Contrast without the clash | |
| Triadic 1 | #01AF63 | Even thirds — balanced and loud | |
| Triadic 2 | #6301AF | Even thirds — balanced and loud | |
| Tetradic | #01AF0C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af6301 text on a black background
contrast 4.61:1
#af6301 text on a white background
contrast 4.56:1
CSS3 live lab
The quick brown fox
color: #af6301;
background-color: #af6301;
Glowing headline
text-shadow: 2px 2px 8px #af6301;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 99, 1, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 99, 1, 0.45);
border: 3px solid #af6301; background: linear-gradient(135deg, #af6301, #87AF01);
Monochromatic scale
Palettes built from #af6301
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.
Closest color with a full write-up: Caramel (#af6f09) — ΔE2000 5 away, with its history, psychology and brand usage.
#af6301 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#af6301, answered
What color is #af6301?
#af6301 is a dark electric orange, closest to Chocolate (ΔE2000 9.3). It sits at 34° on the hue wheel with 99% saturation and 35% lightness, which reads as warm.
What is the RGB value of #af6301?
rgb(175, 99, 1) — 175 red, 99 green and 1 blue out of 255, or 68.6% / 38.8% / 0.4% by channel.
Is #af6301 a light or a dark color?
It is a mid-tone. Relative luminance is 0.1804 and perceived brightness is 48%, so black text on it reaches 4.61:1.
Should I use black or white text on #af6301?
Black. It scores 4.61:1 against #af6301, versus 4.56:1 for white — AA at any size.
What is the complementary color of #af6301?
#014DAF sits directly opposite on the wheel. Softer options are the split-complements #01A4AF and #0C01AF, which give the same contrast with far less vibration.
What colors go well with #af6301?
For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B784B for secondary text, #0079B0 as an accent and #7F4801 for hover and pressed states. For a palette, the analogous pair #AF0C01 and #A4AF01 stays calm, while #014DAF is the loudest partner.
What is #af6301 in CMYK for printing?
cmyk(0%, 43%, 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 #af6301 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 #C86101; nudged cooler, #B0A400.