HSL(49, 89%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,89%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 89%, 80%) | color: hsl(49, 89%, 80%) | |
| HEX | #F9E99F | color: #F9E99F | |
| RGB | rgb(249, 233, 159) | color: rgb(249, 233, 159) | |
| CMYK | cmyk(0%, 6%, 36%, 2%) | — | |
| HSV | hsv(49, 36%, 98%) | — | |
| HWB | hwb(49 63% 2%) | color: hwb(49 63% 2%) | |
| OKLCH | oklch(0.9302 0.0946 97.45) | color: oklch(0.9302 0.0946 97.45) | |
| Lab | lab(92.1 -5 37.96) | color: lab(92.1 -5 37.96) | |
| LCH | lch(92.1 38.29 97.5) | color: lch(92.1 38.29 97.5) |
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)
#F2F2B1 — rgb(242, 242, 177)
Deuteranopia (Green-blind)
#F3F4B5 — rgb(243, 244, 181)
Tritanopia (Blue-blind)
#F8BFC2 — rgb(248, 191, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 89%, 80%);
text
color: hsl(49, 89%, 80%);
border
border: 2px solid hsl(49, 89%, 80%);
gradient light
background: linear-gradient(to right, hsl(49, 89%, 100%), hsl(49, 89%, 80%));
gradient dark
background: linear-gradient(to right, hsl(49, 89%, 80%), hsl(49, 89%, 60%))
hex
background-color: #F9E99F;
tailwind
bg-[hsl(49,89%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 89%, 80%, 0.4);
css variable
--color-primary: hsl(49, 89%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 89%, 80%)?
HEX: #F9E99F | RGB: rgb(249, 233, 159) | CMYK: 0%, 6%, 36%, 2% | HSV: 49°, 36%, 98%. Copy any format from the conversion table above.
What colors go well with #F9E99F?
The complementary color is HSL(229, 89%, 80%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 89%, 80%) in CSS?
As HSL: color: hsl(49, 89%, 80%); — As HEX: color: #F9E99F; — As RGB: color: rgb(249, 233, 159); — Tailwind CSS: bg-[hsl(49,89%,80%)] — CSS variable: --color-primary: hsl(49, 89%, 80%);