HSL(54, 100%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,100%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 100%, 71%) | color: hsl(54, 100%, 71%) | |
| HEX | #FFF06B | color: #FFF06B | |
| RGB | rgb(255, 240, 107) | color: rgb(255, 240, 107) | |
| CMYK | cmyk(0%, 6%, 58%, 0%) | — | |
| HSV | hsv(54, 58%, 100%) | — | |
| HWB | hwb(54 42% 0%) | color: hwb(54 42% 0%) | |
| OKLCH | oklch(0.9422 0.153 102.9) | color: oklch(0.9422 0.153 102.9) | |
| Lab | lab(93.73 -10.82 64.65) | color: lab(93.73 -10.82 64.65) | |
| LCH | lch(93.73 65.55 99.5) | color: lch(93.73 65.55 99.5) |
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)
#F9F88B — rgb(249, 248, 139)
Deuteranopia (Green-blind)
#F9FB93 — rgb(249, 251, 147)
Tritanopia (Blue-blind)
#FEA5AA — rgb(254, 165, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 100%, 71%);
text
color: hsl(54, 100%, 71%);
border
border: 2px solid hsl(54, 100%, 71%);
gradient light
background: linear-gradient(to right, hsl(54, 100%, 91%), hsl(54, 100%, 71%));
gradient dark
background: linear-gradient(to right, hsl(54, 100%, 71%), hsl(54, 100%, 51%))
hex
background-color: #FFF06B;
tailwind
bg-[hsl(54,100%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 100%, 71%, 0.4);
css variable
--color-primary: hsl(54, 100%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 100%, 71%)?
HEX: #FFF06B | RGB: rgb(255, 240, 107) | CMYK: 0%, 6%, 58%, 0% | HSV: 54°, 58%, 100%. Copy any format from the conversion table above.
What colors go well with #FFF06B?
The complementary color is HSL(234, 100%, 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, 100%, 71%) in CSS?
As HSL: color: hsl(54, 100%, 71%); — As HEX: color: #FFF06B; — As RGB: color: rgb(255, 240, 107); — Tailwind CSS: bg-[hsl(54,100%,71%)] — CSS variable: --color-primary: hsl(54, 100%, 71%);