HSL(52, 86%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,86%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 86%, 79%) | color: hsl(52, 86%, 79%) | |
| HEX | #F8EB9B | color: #F8EB9B | |
| RGB | rgb(248, 235, 155) | color: rgb(248, 235, 155) | |
| CMYK | cmyk(0%, 5%, 38%, 3%) | — | |
| HSV | hsv(52, 38%, 97%) | — | |
| HWB | hwb(52 60% 3%) | color: hwb(52 60% 3%) | |
| OKLCH | oklch(0.9326 0.1009 100.14) | color: oklch(0.9326 0.1009 100.14) | |
| Lab | lab(92.46 -6.83 40.42) | color: lab(92.46 -6.83 40.42) | |
| LCH | lch(92.46 40.99 99.59) | color: lch(92.46 40.99 99.59) |
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)
#F2F2AE — rgb(242, 242, 174)
Deuteranopia (Green-blind)
#F3F4B3 — rgb(243, 244, 179)
Tritanopia (Blue-blind)
#F7BEC1 — rgb(247, 190, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 86%, 79%);
text
color: hsl(52, 86%, 79%);
border
border: 2px solid hsl(52, 86%, 79%);
gradient light
background: linear-gradient(to right, hsl(52, 86%, 99%), hsl(52, 86%, 79%));
gradient dark
background: linear-gradient(to right, hsl(52, 86%, 79%), hsl(52, 86%, 59%))
hex
background-color: #F8EB9B;
tailwind
bg-[hsl(52,86%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 86%, 79%, 0.4);
css variable
--color-primary: hsl(52, 86%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 86%, 79%)?
HEX: #F8EB9B | RGB: rgb(248, 235, 155) | CMYK: 0%, 5%, 38%, 3% | HSV: 52°, 38%, 97%. Copy any format from the conversion table above.
What colors go well with #F8EB9B?
The complementary color is HSL(232, 86%, 79%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 86%, 79%) in CSS?
As HSL: color: hsl(52, 86%, 79%); — As HEX: color: #F8EB9B; — As RGB: color: rgb(248, 235, 155); — Tailwind CSS: bg-[hsl(52,86%,79%)] — CSS variable: --color-primary: hsl(52, 86%, 79%);