#ab7c13
a dark, electric yellow · warm · closest name: Dark Goldenrod
At a glance
Every number on this page in one read: what #ab7c13 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 | #ab7c13 |
| RGB | rgb(171, 124, 19) |
| HSL | hsl(41, 80%, 37%) |
| CMYK | cmyk(0%, 28%, 89%, 33%) |
| LAB | lab(55.2 9.7 57.4) |
| LCH | lch(55.2 58.2 80.4) |
| OKLCH | oklch(0.617 0.123 80.7) |
| Decimal | 11238419 |
| Display P3 | color(display-p3 0.671 0.486 0.075) |
Copy-ready code
/* CSS */
color: #ab7c13;
background-color: #ab7c13;
/* Tailwind (arbitrary) */
class="text-[#ab7c13] bg-[#ab7c13]"
/* SCSS */
$brand: #ab7c13;
/* SwiftUI */
Color(red: 0.671, green: 0.486, blue: 0.075)
/* Android */
Color.parseColor("#ab7c13")
/* Flutter */
Color(0xFFAB7C13)
/* Python / OpenCV (BGR) */
(19, 124, 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. #ab7c13 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: #F9F3E6;
--brand-200: #F5E7C7;
--brand-300: #F4D89A;
--brand-400: #EEC468;
--brand-500: #E9B135;
--brand-600: #DCA018;
--brand-700: #ab7c13;
--brand-800: #936A10;
--brand-900: #6A4E10;
--brand-950: #42310A;
--brand: #ab7c13;
--brand-ink: #000000;
}Colors that work with #ab7c13
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 #ab7c13
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
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠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 | #1342AB | Directly opposite — maximum tension | |
| Analogous left | #AB3013 | Neighbour, quieter | |
| Analogous right | #8EAB13 | Neighbour, quieter | |
| Split-complement 1 | #138EAB | Contrast without the clash | |
| Split-complement 2 | #3013AB | Contrast without the clash | |
| Triadic 1 | #13AB7C | Even thirds — balanced and loud | |
| Triadic 2 | #7C13AB | Even thirds — balanced and loud | |
| Tetradic | #13AB30 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ab7c13 text on a black background
contrast 5.62:1
#ab7c13 text on a white background
contrast 3.73:1
CSS3 live lab
The quick brown fox
color: #ab7c13;
background-color: #ab7c13;
Glowing headline
text-shadow: 2px 2px 8px #ab7c13;
Soft neon halo
text-shadow: 0 0 14px rgba(171, 124, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(171, 124, 19, 0.45);
border: 3px solid #ab7c13; background: linear-gradient(135deg, #ab7c13, #75AB13);
Monochromatic scale
Palettes built from #ab7c13
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 6.3 away, with its history, psychology and brand usage.
#ab7c13 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.
#ab7c13, answered
What color is #ab7c13?
#ab7c13 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 4). It sits at 41° on the hue wheel with 80% saturation and 37% lightness, which reads as warm.
What is the RGB value of #ab7c13?
rgb(171, 124, 19) — 171 red, 124 green and 19 blue out of 255, or 67.1% / 48.6% / 7.5% by channel.
Is #ab7c13 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2312 and perceived brightness is 52%, so black text on it reaches 5.62:1.
Should I use black or white text on #ab7c13?
Black. It scores 5.62:1 against #ab7c13, versus 3.73:1 for white — AA at any size.
What is the complementary color of #ab7c13?
#1342AB sits directly opposite on the wheel. Softer options are the split-complements #138EAB and #3013AB, which give the same contrast with far less vibration.
What colors go well with #ab7c13?
For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #0F69AF as an accent and #73530D for hover and pressed states. For a palette, the analogous pair #AB3013 and #8EAB13 stays calm, while #1342AB is the loudest partner.
What is #ab7c13 in CMYK for printing?
cmyk(0%, 28%, 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 #ab7c13 warm or cool?
Warm — it scores 9 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AB6413; nudged cooler, #A4AD11.