HSL(47, 91%, 74%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,91%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 91%, 74%) | color: hsl(47, 91%, 74%) | |
| HEX | #F9DF80 | color: #F9DF80 | |
| RGB | rgb(249, 223, 128) | color: rgb(249, 223, 128) | |
| CMYK | cmyk(0%, 10%, 49%, 2%) | — | |
| HSV | hsv(47, 49%, 98%) | — | |
| HWB | hwb(47 50% 2%) | color: hwb(47 50% 2%) | |
| OKLCH | oklch(0.9054 0.1188 94.49) | color: oklch(0.9054 0.1188 94.49) | |
| Lab | lab(89.15 -3.08 49.52) | color: lab(89.15 -3.08 49.52) | |
| LCH | lch(89.15 49.62 93.56) | color: lch(89.15 49.62 93.56) |
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)
#EEEE97 — rgb(238, 238, 151)
Deuteranopia (Green-blind)
#EFF19D — rgb(239, 241, 157)
Tritanopia (Blue-blind)
#F8A9AD — rgb(248, 169, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 91%, 74%);
text
color: hsl(47, 91%, 74%);
border
border: 2px solid hsl(47, 91%, 74%);
gradient light
background: linear-gradient(to right, hsl(47, 91%, 94%), hsl(47, 91%, 74%));
gradient dark
background: linear-gradient(to right, hsl(47, 91%, 74%), hsl(47, 91%, 54%))
hex
background-color: #F9DF80;
tailwind
bg-[hsl(47,91%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 91%, 74%, 0.4);
css variable
--color-primary: hsl(47, 91%, 74%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 91%, 74%)?
HEX: #F9DF80 | RGB: rgb(249, 223, 128) | CMYK: 0%, 10%, 49%, 2% | HSV: 47°, 49%, 98%. Copy any format from the conversion table above.
What colors go well with #F9DF80?
The complementary color is HSL(227, 91%, 74%). 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, 91%, 74%) in CSS?
As HSL: color: hsl(47, 91%, 74%); — As HEX: color: #F9DF80; — As RGB: color: rgb(249, 223, 128); — Tailwind CSS: bg-[hsl(47,91%,74%)] — CSS variable: --color-primary: hsl(47, 91%, 74%);