HSL(58, 90%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(58,90%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 90%, 80%) | color: hsl(58, 90%, 80%) | |
| HEX | #FAF79E | color: #FAF79E | |
| RGB | rgb(250, 247, 158) | color: rgb(250, 247, 158) | |
| CMYK | cmyk(0%, 1%, 37%, 2%) | — | |
| HSV | hsv(58, 37%, 98%) | — | |
| HWB | hwb(58 62% 2%) | color: hwb(58 62% 2%) | |
| OKLCH | oklch(0.9589 0.1104 106.65) | color: oklch(0.9589 0.1104 106.65) | |
| Lab | lab(95.71 -11.69 43.16) | color: lab(95.71 -11.69 43.16) | |
| LCH | lch(95.71 44.72 105.16) | color: lch(95.71 44.72 105.16) |
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)
#F9F9B4 — rgb(249, 249, 180)
Deuteranopia (Green-blind)
#F9F9B9 — rgb(249, 249, 185)
Tritanopia (Blue-blind)
#FAC5C8 — rgb(250, 197, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 90%, 80%);
text
color: hsl(58, 90%, 80%);
border
border: 2px solid hsl(58, 90%, 80%);
gradient light
background: linear-gradient(to right, hsl(58, 90%, 100%), hsl(58, 90%, 80%));
gradient dark
background: linear-gradient(to right, hsl(58, 90%, 80%), hsl(58, 90%, 60%))
hex
background-color: #FAF79E;
tailwind
bg-[hsl(58,90%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 90%, 80%, 0.4);
css variable
--color-primary: hsl(58, 90%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 90%, 80%)?
HEX: #FAF79E | RGB: rgb(250, 247, 158) | CMYK: 0%, 1%, 37%, 2% | HSV: 58°, 37%, 98%. Copy any format from the conversion table above.
What colors go well with #FAF79E?
The complementary color is HSL(238, 90%, 80%). For a triadic harmony, use hues 58°, 178°, and 298°. For analogous combinations, try hues 28° and 88°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(58, 90%, 80%) in CSS?
As HSL: color: hsl(58, 90%, 80%); — As HEX: color: #FAF79E; — As RGB: color: rgb(250, 247, 158); — Tailwind CSS: bg-[hsl(58,90%,80%)] — CSS variable: --color-primary: hsl(58, 90%, 80%);