HSL(47, 90%, 78%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,90%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 90%, 78%) | color: hsl(47, 90%, 78%) | |
| HEX | #F9E494 | color: #F9E494 | |
| RGB | rgb(249, 228, 148) | color: rgb(249, 228, 148) | |
| CMYK | cmyk(0%, 8%, 41%, 2%) | — | |
| HSV | hsv(48, 41%, 98%) | — | |
| HWB | hwb(48 58% 2%) | color: hwb(48 58% 2%) | |
| OKLCH | oklch(0.9184 0.1022 95.17) | color: oklch(0.9184 0.1022 95.17) | |
| Lab | lab(90.67 -3.67 41.62) | color: lab(90.67 -3.67 41.62) | |
| LCH | lch(90.67 41.78 95.04) | color: lch(90.67 41.78 95.04) |
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)
#F0F0A7 — rgb(240, 240, 167)
Deuteranopia (Green-blind)
#F1F3AC — rgb(241, 243, 172)
Tritanopia (Blue-blind)
#F8B7BA — rgb(248, 183, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 90%, 78%);
text
color: hsl(47, 90%, 78%);
border
border: 2px solid hsl(47, 90%, 78%);
gradient light
background: linear-gradient(to right, hsl(47, 90%, 98%), hsl(47, 90%, 78%));
gradient dark
background: linear-gradient(to right, hsl(47, 90%, 78%), hsl(47, 90%, 58%))
hex
background-color: #F9E494;
tailwind
bg-[hsl(47,90%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 90%, 78%, 0.4);
css variable
--color-primary: hsl(47, 90%, 78%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 90%, 78%)?
HEX: #F9E494 | RGB: rgb(249, 228, 148) | CMYK: 0%, 8%, 41%, 2% | HSV: 48°, 41%, 98%. Copy any format from the conversion table above.
What colors go well with #F9E494?
The complementary color is HSL(227, 90%, 78%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 90%, 78%) in CSS?
As HSL: color: hsl(47, 90%, 78%); — As HEX: color: #F9E494; — As RGB: color: rgb(249, 228, 148); — Tailwind CSS: bg-[hsl(47,90%,78%)] — CSS variable: --color-primary: hsl(47, 90%, 78%);