#f7ae21
a balanced, electric orange · warm · closest name: Orange
At a glance
Every number on this page in one read: what #f7ae21 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 | #f7ae21 |
| RGB | rgb(247, 174, 33) |
| HSL | hsl(40, 93%, 55%) |
| CMYK | cmyk(0%, 30%, 87%, 3%) |
| LAB | lab(76.2 16.3 74.2) |
| LCH | lch(76.2 75.9 77.6) |
| OKLCH | oklch(0.800 0.161 76.9) |
| Decimal | 16231969 |
| Display P3 | color(display-p3 0.969 0.682 0.129) |
Copy-ready code
/* CSS */
color: #f7ae21;
background-color: #f7ae21;
/* Tailwind (arbitrary) */
class="text-[#f7ae21] bg-[#f7ae21]"
/* SCSS */
$brand: #f7ae21;
/* SwiftUI */
Color(red: 0.969, green: 0.682, blue: 0.129)
/* Android */
Color.parseColor("#f7ae21")
/* Flutter */
Color(0xFFF7AE21)
/* Python / OpenCV (BGR) */
(33, 174, 247)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. #f7ae21 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDF9F2;
--brand-100: #FBF3E4;
--brand-200: #F9E7C2;
--brand-300: #FBD793;
--brand-400: #F9C45D;
--brand-500: #f7ae21;
--brand-600: #EC9E09;
--brand-700: #C58407;
--brand-800: #9D6A06;
--brand-900: #724E09;
--brand-950: #473106;
--brand: #f7ae21;
--brand-ink: #000000;
}Colors that work with #f7ae21
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 #f7ae21
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #216AF7 | Directly opposite — maximum tension | |
| Analogous left | #F74321 | Neighbour, quieter | |
| Analogous right | #D5F721 | Neighbour, quieter | |
| Split-complement 1 | #21D5F7 | Contrast without the clash | |
| Split-complement 2 | #4321F7 | Contrast without the clash | |
| Triadic 1 | #21F7AE | Even thirds — balanced and loud | |
| Triadic 2 | #AE21F7 | Even thirds — balanced and loud | |
| Tetradic | #21F743 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#f7ae21 text on a black background
contrast 11.03:1
#f7ae21 text on a white background
contrast 1.90:1
CSS3 live lab
The quick brown fox
color: #f7ae21;
background-color: #f7ae21;
Glowing headline
text-shadow: 2px 2px 8px #f7ae21;
Soft neon halo
text-shadow: 0 0 14px rgba(247, 174, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(247, 174, 33, 0.45);
border: 3px solid #f7ae21; background: linear-gradient(135deg, #f7ae21, #B1F721);
Monochromatic scale
Palettes built from #f7ae21
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: Honey (#eba937) — ΔE2000 2.9 away, with its history, psychology and brand usage.
#f7ae21 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.
#f7ae21, answered
What color is #f7ae21?
#f7ae21 is a balanced electric orange, closest to Orange (ΔE2000 4). It sits at 40° on the hue wheel with 93% saturation and 55% lightness, which reads as warm.
What is the RGB value of #f7ae21?
rgb(247, 174, 33) — 247 red, 174 green and 33 blue out of 255, or 96.9% / 68.2% / 12.9% by channel.
Is #f7ae21 a light or a dark color?
It is a light color. Relative luminance is 0.5016 and perceived brightness is 75%, so black text on it reaches 11.03:1.
Should I use black or white text on #f7ae21?
Black. It scores 11.03:1 against #f7ae21, versus 1.90:1 for white — AAA at any size.
What is the complementary color of #f7ae21?
#216AF7 sits directly opposite on the wheel. Softer options are the split-complements #21D5F7 and #4321F7, which give the same contrast with far less vibration.
What colors go well with #f7ae21?
For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #0378C9 as an accent and #7B5304 for hover and pressed states. For a palette, the analogous pair #F74321 and #D5F721 stays calm, while #216AF7 is the loudest partner.
What is #f7ae21 in CMYK for printing?
cmyk(0%, 30%, 87%, 3%). 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 #f7ae21 warm or cool?
Warm — it scores 8 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F79421; nudged cooler, #F4F91F.