#EAB308 — Tints, Shades & Color Values
#EAB308 is a medium, vivid yellow. In Tailwind CSS this exact color is the utility class yellow-500 (e.g. bg-yellow-500, text-yellow-500). Its nearest CSS named color is orange (#ffa500). For readable text on a #EAB308 background, black text gives the strongest contrast (10.95:1). #EAB308 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.
Color Values
| Hex | #EAB308 |
|---|---|
| RGB | rgb(234, 179, 8) |
| HSL | hsl(45, 93%, 47%) |
| HSV / HSB | 45°, 97%, 92% |
| Nearest named | orange (#ffa500) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#EAB308 in Tailwind CSS (yellow-500)
#EAB308 ships with Tailwind CSS as yellow-500 — use it as bg-yellow-500, text-yellow-500, or border-yellow-500. It sits at step 500 of the yellow ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #EAB308 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#ecbb21 -
20% tint
#eec239 -
30% tint
#f0ca52 -
40% tint
#f2d16b -
50% tint
#f5d984 -
60% tint
#f7e19c -
70% tint
#f9e8b5 -
80% tint
#fbf0ce -
90% tint
#fdf7e6
Shades of #EAB308 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#d3a107 -
20% shade
#bb8f06 -
30% shade
#a47d06 -
40% shade
#8c6b05 -
50% shade
#755a04 -
60% shade
#5e4803 -
70% shade
#463602 -
80% shade
#2f2402 -
90% shade
#171201
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #EAB308 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 1.92:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 10.95:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #EAB308 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More yellow colors in the library: #FFD700, #FFFF00, #F1C40F, #FCD34D (amber-300), #FDE68A (amber-200), #FEF3C7 (amber-100).
Frequently Asked Questions
-
What color is #EAB308?
#EAB308 is a medium, vivid yellow —
rgb(234, 179, 8). Its nearest CSS named color isorange. In Tailwind CSS it isyellow-500. -
How do I make tints and shades of #EAB308?
Mix #EAB308 with white for tints and with black for shades. A 20% tint of #EAB308 is
#eec239and a 20% shade is#bb8f06— the full 10%–90% ramps are precomputed on this page, or open #EAB308 in the generator for finer steps. -
What text color is readable on #EAB308?
Black text gives the strongest contrast on a #EAB308 background at 10.95:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #EAB308?
yellow-500— use it asbg-yellow-500,text-yellow-500, orborder-yellow-500. The full yellow 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#EAB308? Put it on a free link-in-bio page →