HSL(49, 92%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,92%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 92%, 79%) | color: hsl(49, 92%, 79%) | |
| HEX | #FBE998 | color: #FBE998 | |
| RGB | rgb(251, 233, 152) | color: rgb(251, 233, 152) | |
| CMYK | cmyk(0%, 7%, 39%, 2%) | — | |
| HSV | hsv(49, 39%, 98%) | — | |
| HWB | hwb(49 60% 2%) | color: hwb(49 60% 2%) | |
| OKLCH | oklch(0.9307 0.1027 97.17) | color: oklch(0.9307 0.1027 97.17) | |
| Lab | lab(92.16 -5 41.57) | color: lab(92.16 -5 41.57) | |
| LCH | lch(92.16 41.87 96.86) | color: lch(92.16 41.87 96.86) |
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)
#F3F3AC — rgb(243, 243, 172)
Deuteranopia (Green-blind)
#F4F6B0 — rgb(244, 246, 176)
Tritanopia (Blue-blind)
#FABBBE — rgb(250, 187, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 92%, 79%);
text
color: hsl(49, 92%, 79%);
border
border: 2px solid hsl(49, 92%, 79%);
gradient light
background: linear-gradient(to right, hsl(49, 92%, 99%), hsl(49, 92%, 79%));
gradient dark
background: linear-gradient(to right, hsl(49, 92%, 79%), hsl(49, 92%, 59%))
hex
background-color: #FBE998;
tailwind
bg-[hsl(49,92%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 92%, 79%, 0.4);
css variable
--color-primary: hsl(49, 92%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 92%, 79%)?
HEX: #FBE998 | RGB: rgb(251, 233, 152) | CMYK: 0%, 7%, 39%, 2% | HSV: 49°, 39%, 98%. Copy any format from the conversion table above.
What colors go well with #FBE998?
The complementary color is HSL(229, 92%, 79%). 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, 92%, 79%) in CSS?
As HSL: color: hsl(49, 92%, 79%); — As HEX: color: #FBE998; — As RGB: color: rgb(251, 233, 152); — Tailwind CSS: bg-[hsl(49,92%,79%)] — CSS variable: --color-primary: hsl(49, 92%, 79%);