HSL(56, 98%, 50%)
Vivid Yellow — Yellow color
Adjust Color
Color Information
Color Name
Vivid Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,98%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 98%, 50%) | color: hsl(56, 98%, 50%) | |
| HEX | #FCEC03 | color: #FCEC03 | |
| RGB | rgb(252, 236, 3) | color: rgb(252, 236, 3) | |
| CMYK | cmyk(0%, 6%, 99%, 1%) | — | |
| HSV | hsv(56, 99%, 99%) | — | |
| HWB | hwb(56 1% 1%) | color: hwb(56 1% 1%) | |
| OKLCH | oklch(0.9264 0.1958 104.59) | color: oklch(0.9264 0.1958 104.59) | |
| Lab | lab(92 -13.62 90.4) | color: lab(92 -13.62 90.4) | |
| LCH | lch(92 91.42 98.57) | color: lch(92 91.42 98.57) |
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)
#F5F53B — rgb(245, 245, 59)
Deuteranopia (Green-blind)
#F6F749 — rgb(246, 247, 73)
Tritanopia (Blue-blind)
#FB6872 — rgb(251, 104, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 98%, 50%);
text
color: hsl(56, 98%, 50%);
border
border: 2px solid hsl(56, 98%, 50%);
gradient light
background: linear-gradient(to right, hsl(56, 98%, 70%), hsl(56, 98%, 50%));
gradient dark
background: linear-gradient(to right, hsl(56, 98%, 50%), hsl(56, 98%, 30%))
hex
background-color: #FCEC03;
tailwind
bg-[hsl(56,98%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 98%, 50%, 0.4);
css variable
--color-primary: hsl(56, 98%, 50%);
Related Colors
Use Cases for Vivid Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 98%, 50%)?
HEX: #FCEC03 | RGB: rgb(252, 236, 3) | CMYK: 0%, 6%, 99%, 1% | HSV: 56°, 99%, 99%. Copy any format from the conversion table above.
What colors go well with #FCEC03?
The complementary color is HSL(236, 98%, 50%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 98%, 50%) in CSS?
As HSL: color: hsl(56, 98%, 50%); — As HEX: color: #FCEC03; — As RGB: color: rgb(252, 236, 3); — Tailwind CSS: bg-[hsl(56,98%,50%)] — CSS variable: --color-primary: hsl(56, 98%, 50%);