HSL(54, 92%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,92%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 92%, 71%) | color: hsl(54, 92%, 71%) | |
| HEX | #F9EB71 | color: #F9EB71 | |
| RGB | rgb(249, 235, 113) | color: rgb(249, 235, 113) | |
| CMYK | cmyk(0%, 6%, 55%, 2%) | — | |
| HSV | hsv(54, 55%, 98%) | — | |
| HWB | hwb(54 44% 2%) | color: hwb(54 44% 2%) | |
| OKLCH | oklch(0.9277 0.1434 102.79) | color: oklch(0.9277 0.1434 102.79) | |
| Lab | lab(92.02 -10.32 59.93) | color: lab(92.02 -10.32 59.93) | |
| LCH | lch(92.02 60.81 99.77) | color: lch(92.02 60.81 99.77) |
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)
#F3F38F — rgb(243, 243, 143)
Deuteranopia (Green-blind)
#F4F596 — rgb(244, 245, 150)
Tritanopia (Blue-blind)
#F8A6AB — rgb(248, 166, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 92%, 71%);
text
color: hsl(54, 92%, 71%);
border
border: 2px solid hsl(54, 92%, 71%);
gradient light
background: linear-gradient(to right, hsl(54, 92%, 91%), hsl(54, 92%, 71%));
gradient dark
background: linear-gradient(to right, hsl(54, 92%, 71%), hsl(54, 92%, 51%))
hex
background-color: #F9EB71;
tailwind
bg-[hsl(54,92%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 92%, 71%, 0.4);
css variable
--color-primary: hsl(54, 92%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 92%, 71%)?
HEX: #F9EB71 | RGB: rgb(249, 235, 113) | CMYK: 0%, 6%, 55%, 2% | HSV: 54°, 55%, 98%. Copy any format from the conversion table above.
What colors go well with #F9EB71?
The complementary color is HSL(234, 92%, 71%). 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, 92%, 71%) in CSS?
As HSL: color: hsl(54, 92%, 71%); — As HEX: color: #F9EB71; — As RGB: color: rgb(249, 235, 113); — Tailwind CSS: bg-[hsl(54,92%,71%)] — CSS variable: --color-primary: hsl(54, 92%, 71%);