HSL(46, 92%, 49%)
Vivid Yellow — Yellow color
Adjust Color
Color Information
Color Name
Vivid Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,92%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 92%, 49%) | color: hsl(46, 92%, 49%) | |
| HEX | #F0BA0A | color: #F0BA0A | |
| RGB | rgb(240, 186, 10) | color: rgb(240, 186, 10) | |
| CMYK | cmyk(0%, 23%, 96%, 6%) | — | |
| HSV | hsv(46, 96%, 94%) | — | |
| HWB | hwb(46 4% 6%) | color: hwb(46 4% 6%) | |
| OKLCH | oklch(0.8151 0.1654 87.23) | color: oklch(0.8151 0.1654 87.23) | |
| Lab | lab(78.27 6.64 79.38) | color: lab(78.27 6.64 79.38) | |
| LCH | lch(78.27 79.66 85.22) | color: lch(78.27 79.66 85.22) |
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)
#D9D835 — rgb(217, 216, 53)
Deuteranopia (Green-blind)
#DCE03F — rgb(220, 224, 63)
Tritanopia (Blue-blind)
#ED565E — rgb(237, 86, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 92%, 49%);
text
color: hsl(46, 92%, 49%);
border
border: 2px solid hsl(46, 92%, 49%);
gradient light
background: linear-gradient(to right, hsl(46, 92%, 69%), hsl(46, 92%, 49%));
gradient dark
background: linear-gradient(to right, hsl(46, 92%, 49%), hsl(46, 92%, 29%))
hex
background-color: #F0BA0A;
tailwind
bg-[hsl(46,92%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 92%, 49%, 0.4);
css variable
--color-primary: hsl(46, 92%, 49%);
Related Colors
Use Cases for Vivid Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 92%, 49%)?
HEX: #F0BA0A | RGB: rgb(240, 186, 10) | CMYK: 0%, 23%, 96%, 6% | HSV: 46°, 96%, 94%. Copy any format from the conversion table above.
What colors go well with #F0BA0A?
The complementary color is HSL(226, 92%, 49%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 92%, 49%) in CSS?
As HSL: color: hsl(46, 92%, 49%); — As HEX: color: #F0BA0A; — As RGB: color: rgb(240, 186, 10); — Tailwind CSS: bg-[hsl(46,92%,49%)] — CSS variable: --color-primary: hsl(46, 92%, 49%);