HSL(45, 90%, 73%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,90%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 90%, 73%) | color: hsl(45, 90%, 73%) | |
| HEX | #F8D97C | color: #F8D97C | |
| RGB | rgb(248, 217, 124) | color: rgb(248, 217, 124) | |
| CMYK | cmyk(0%, 13%, 50%, 3%) | — | |
| HSV | hsv(45, 50%, 97%) | — | |
| HWB | hwb(45 49% 3%) | color: hwb(45 49% 3%) | |
| OKLCH | oklch(0.8921 0.118 91.46) | color: oklch(0.8921 0.118 91.46) | |
| Lab | lab(87.5 -0.79 49.42) | color: lab(87.5 -0.79 49.42) | |
| LCH | lch(87.5 49.43 90.92) | color: lch(87.5 49.43 90.92) |
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)
#EBEA93 — rgb(235, 234, 147)
Deuteranopia (Green-blind)
#ECEF98 — rgb(236, 239, 152)
Tritanopia (Blue-blind)
#F6A4A8 — rgb(246, 164, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 90%, 73%);
text
color: hsl(45, 90%, 73%);
border
border: 2px solid hsl(45, 90%, 73%);
gradient light
background: linear-gradient(to right, hsl(45, 90%, 93%), hsl(45, 90%, 73%));
gradient dark
background: linear-gradient(to right, hsl(45, 90%, 73%), hsl(45, 90%, 53%))
hex
background-color: #F8D97C;
tailwind
bg-[hsl(45,90%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 90%, 73%, 0.4);
css variable
--color-primary: hsl(45, 90%, 73%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 90%, 73%)?
HEX: #F8D97C | RGB: rgb(248, 217, 124) | CMYK: 0%, 13%, 50%, 3% | HSV: 45°, 50%, 97%. Copy any format from the conversion table above.
What colors go well with #F8D97C?
The complementary color is HSL(225, 90%, 73%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 90%, 73%) in CSS?
As HSL: color: hsl(45, 90%, 73%); — As HEX: color: #F8D97C; — As RGB: color: rgb(248, 217, 124); — Tailwind CSS: bg-[hsl(45,90%,73%)] — CSS variable: --color-primary: hsl(45, 90%, 73%);