HSL(54, 100%, 60%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,100%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 100%, 60%) | color: hsl(54, 100%, 60%) | |
| HEX | #FFEB33 | color: #FFEB33 | |
| RGB | rgb(255, 235, 51) | color: rgb(255, 235, 51) | |
| CMYK | cmyk(0%, 8%, 80%, 0%) | — | |
| HSV | hsv(54, 80%, 100%) | — | |
| HWB | hwb(54 20% 0%) | color: hwb(54 20% 0%) | |
| OKLCH | oklch(0.9281 0.1838 102.69) | color: oklch(0.9281 0.1838 102.69) | |
| Lab | lab(92.1 -11.09 83.12) | color: lab(92.1 -11.09 83.12) | |
| LCH | lch(92.1 83.86 97.6) | color: lch(92.1 83.86 97.6) |
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)
#F6F660 — rgb(246, 246, 96)
Deuteranopia (Green-blind)
#F8F96A — rgb(248, 249, 106)
Tritanopia (Blue-blind)
#FE838A — rgb(254, 131, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 100%, 60%);
text
color: hsl(54, 100%, 60%);
border
border: 2px solid hsl(54, 100%, 60%);
gradient light
background: linear-gradient(to right, hsl(54, 100%, 80%), hsl(54, 100%, 60%));
gradient dark
background: linear-gradient(to right, hsl(54, 100%, 60%), hsl(54, 100%, 40%))
hex
background-color: #FFEB33;
tailwind
bg-[hsl(54,100%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 100%, 60%, 0.4);
css variable
--color-primary: hsl(54, 100%, 60%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 100%, 60%)?
HEX: #FFEB33 | RGB: rgb(255, 235, 51) | CMYK: 0%, 8%, 80%, 0% | HSV: 54°, 80%, 100%. Copy any format from the conversion table above.
What colors go well with #FFEB33?
The complementary color is HSL(234, 100%, 60%). 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%, 60%) in CSS?
As HSL: color: hsl(54, 100%, 60%); — As HEX: color: #FFEB33; — As RGB: color: rgb(255, 235, 51); — Tailwind CSS: bg-[hsl(54,100%,60%)] — CSS variable: --color-primary: hsl(54, 100%, 60%);