HSL(46, 90%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,90%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 90%, 62%) | color: hsl(46, 90%, 62%) | |
| HEX | #F5CD47 | color: #F5CD47 | |
| RGB | rgb(245, 205, 71) | color: rgb(245, 205, 71) | |
| CMYK | cmyk(0%, 16%, 71%, 4%) | — | |
| HSV | hsv(46, 71%, 96%) | — | |
| HWB | hwb(46 28% 4%) | color: hwb(46 28% 4%) | |
| OKLCH | oklch(0.86 0.1524 91.88) | color: oklch(0.86 0.1524 91.88) | |
| Lab | lab(83.72 0.57 68.57) | color: lab(83.72 0.57 68.57) | |
| LCH | lch(83.72 68.57 89.52) | color: lch(83.72 68.57 89.52) |
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)
#E4E367 — rgb(228, 227, 103)
Deuteranopia (Green-blind)
#E6E96F — rgb(230, 233, 111)
Tritanopia (Blue-blind)
#F38187 — rgb(243, 129, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 90%, 62%);
text
color: hsl(46, 90%, 62%);
border
border: 2px solid hsl(46, 90%, 62%);
gradient light
background: linear-gradient(to right, hsl(46, 90%, 82%), hsl(46, 90%, 62%));
gradient dark
background: linear-gradient(to right, hsl(46, 90%, 62%), hsl(46, 90%, 42%))
hex
background-color: #F5CD47;
tailwind
bg-[hsl(46,90%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 90%, 62%, 0.4);
css variable
--color-primary: hsl(46, 90%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 90%, 62%)?
HEX: #F5CD47 | RGB: rgb(245, 205, 71) | CMYK: 0%, 16%, 71%, 4% | HSV: 46°, 71%, 96%. Copy any format from the conversion table above.
What colors go well with #F5CD47?
The complementary color is HSL(226, 90%, 62%). 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, 90%, 62%) in CSS?
As HSL: color: hsl(46, 90%, 62%); — As HEX: color: #F5CD47; — As RGB: color: rgb(245, 205, 71); — Tailwind CSS: bg-[hsl(46,90%,62%)] — CSS variable: --color-primary: hsl(46, 90%, 62%);