#ab7313
a dark, electric orange · warm · closest name: Dark Goldenrod
At a glance
Every number on this page in one read: what #ab7313 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 | #ab7313 |
| RGB | rgb(171, 115, 19) |
| HSL | hsl(38, 80%, 37%) |
| CMYK | cmyk(0%, 33%, 89%, 33%) |
| LAB | lab(52.9 14.7 55.5) |
| LCH | lch(52.9 57.5 75.1) |
| OKLCH | oklch(0.600 0.122 73.6) |
| Decimal | 11236115 |
| Display P3 | color(display-p3 0.671 0.451 0.075) |
Copy-ready code
/* CSS */
color: #ab7313;
background-color: #ab7313;
/* Tailwind (arbitrary) */
class="text-[#ab7313] bg-[#ab7313]"
/* SCSS */
$brand: #ab7313;
/* SwiftUI */
Color(red: 0.671, green: 0.451, blue: 0.075)
/* Android */
Color.parseColor("#ab7313")
/* Flutter */
Color(0xFFAB7313)
/* Python / OpenCV (BGR) */
(19, 115, 171)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. #ab7313 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.
:root {
--brand-50: #FCF9F3;
--brand-100: #F9F2E6;
--brand-200: #F5E4C7;
--brand-300: #F4D39A;
--brand-400: #EEBD68;
--brand-500: #E9A635;
--brand-600: #DC9418;
--brand-700: #ab7313;
--brand-800: #936310;
--brand-900: #6A4910;
--brand-950: #422E0A;
--brand: #ab7313;
--brand-ink: #000000;
}Colors that work with #ab7313
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 #ab7313
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up 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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #134BAB | Directly opposite — maximum tension | |
| Analogous left | #AB2713 | Neighbour, quieter | |
| Analogous right | #97AB13 | Neighbour, quieter | |
| Split-complement 1 | #1397AB | Contrast without the clash | |
| Split-complement 2 | #2713AB | Contrast without the clash | |
| Triadic 1 | #13AB73 | Even thirds — balanced and loud | |
| Triadic 2 | #7313AB | Even thirds — balanced and loud | |
| Tetradic | #13AB27 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ab7313 text on a black background
contrast 5.19:1
#ab7313 text on a white background
contrast 4.04:1
CSS3 live lab
The quick brown fox
color: #ab7313;
background-color: #ab7313;
Glowing headline
text-shadow: 2px 2px 8px #ab7313;
Soft neon halo
text-shadow: 0 0 14px rgba(171, 115, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(171, 115, 19, 0.45);
border: 3px solid #ab7313; background: linear-gradient(135deg, #ab7313, #7EAB13);
Monochromatic scale
Palettes built from #ab7313
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 2.3 away, with its history, psychology and brand usage.
#ab7313 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.
#ab7313, answered
What color is #ab7313?
#ab7313 is a dark electric orange, closest to Dark Goldenrod (ΔE2000 7.3). It sits at 38° on the hue wheel with 80% saturation and 37% lightness, which reads as warm.
What is the RGB value of #ab7313?
rgb(171, 115, 19) — 171 red, 115 green and 19 blue out of 255, or 67.1% / 45.1% / 7.5% by channel.
Is #ab7313 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2097 and perceived brightness is 50%, so black text on it reaches 5.19:1.
Should I use black or white text on #ab7313?
Black. It scores 5.19:1 against #ab7313, versus 4.04:1 for white — AA at any size.
What is the complementary color of #ab7313?
#134BAB sits directly opposite on the wheel. Softer options are the split-complements #1397AB and #2713AB, which give the same contrast with far less vibration.
What colors go well with #ab7313?
For interface work: #FAF8F4 as the surface, #EDDCC0 for borders, #9B7D4B for secondary text, #0F72AF as an accent and #734D0D for hover and pressed states. For a palette, the analogous pair #AB2713 and #97AB13 stays calm, while #134BAB is the loudest partner.
What is #ab7313 in CMYK for printing?
cmyk(0%, 33%, 89%, 33%). 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 #ab7313 warm or cool?
Warm — it scores 7 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AB6013; nudged cooler, #ADAD11.