HSL(54, 80%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,80%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 80%, 72%) | color: hsl(54, 80%, 72%) | |
| HEX | #F1E57E | color: #F1E57E | |
| RGB | rgb(241, 229, 126) | color: rgb(241, 229, 126) | |
| CMYK | cmyk(0%, 5%, 48%, 5%) | — | |
| HSV | hsv(54, 48%, 95%) | — | |
| HWB | hwb(54 49% 5%) | color: hwb(54 49% 5%) | |
| OKLCH | oklch(0.9103 0.1254 102.65) | color: oklch(0.9103 0.1254 102.65) | |
| Lab | lab(89.97 -9.46 51.33) | color: lab(89.97 -9.46 51.33) | |
| LCH | lch(89.97 52.19 100.44) | color: lch(89.97 52.19 100.44) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#ECEC97 — rgb(236, 236, 151)
Deuteranopia (Green-blind)
#EDED9D — rgb(237, 237, 157)
Tritanopia (Blue-blind)
#F0ABAF — rgb(240, 171, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 80%, 72%);
text
color: hsl(54, 80%, 72%);
border
border: 2px solid hsl(54, 80%, 72%);
gradient light
background: linear-gradient(to right, hsl(54, 80%, 92%), hsl(54, 80%, 72%));
gradient dark
background: linear-gradient(to right, hsl(54, 80%, 72%), hsl(54, 80%, 52%))
hex
background-color: #F1E57E;
tailwind
bg-[hsl(54,80%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 80%, 72%, 0.4);
css variable
--color-primary: hsl(54, 80%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 80%, 72%)?
HEX: #F1E57E | RGB: rgb(241, 229, 126) | CMYK: 0%, 5%, 48%, 5% | HSV: 54°, 48%, 95%. Copy any format from the conversion table above.
What colors go well with #F1E57E?
The complementary color is HSL(234, 80%, 72%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 80%, 72%) in CSS?
As HSL: color: hsl(54, 80%, 72%); — As HEX: color: #F1E57E; — As RGB: color: rgb(241, 229, 126); — Tailwind CSS: bg-[hsl(54,80%,72%)] — CSS variable: --color-primary: hsl(54, 80%, 72%);