HSL(45, 90%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,90%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 90%, 71%) | color: hsl(45, 90%, 71%) | |
| HEX | #F8D672 | color: #F8D672 | |
| RGB | rgb(248, 214, 114) | color: rgb(248, 214, 114) | |
| CMYK | cmyk(0%, 14%, 54%, 3%) | — | |
| HSV | hsv(45, 54%, 97%) | — | |
| HWB | hwb(45 45% 3%) | color: hwb(45 45% 3%) | |
| OKLCH | oklch(0.8849 0.1253 90.94) | color: oklch(0.8849 0.1253 90.94) | |
| Lab | lab(86.64 -0.09 53.17) | color: lab(86.64 -0.09 53.17) | |
| LCH | lch(86.64 53.17 90.1) | color: lch(86.64 53.17 90.1) |
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)
#E9E98A — rgb(233, 233, 138)
Deuteranopia (Green-blind)
#EBEE90 — rgb(235, 238, 144)
Tritanopia (Blue-blind)
#F69DA2 — rgb(246, 157, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 90%, 71%);
text
color: hsl(45, 90%, 71%);
border
border: 2px solid hsl(45, 90%, 71%);
gradient light
background: linear-gradient(to right, hsl(45, 90%, 91%), hsl(45, 90%, 71%));
gradient dark
background: linear-gradient(to right, hsl(45, 90%, 71%), hsl(45, 90%, 51%))
hex
background-color: #F8D672;
tailwind
bg-[hsl(45,90%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 90%, 71%, 0.4);
css variable
--color-primary: hsl(45, 90%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 90%, 71%)?
HEX: #F8D672 | RGB: rgb(248, 214, 114) | CMYK: 0%, 14%, 54%, 3% | HSV: 45°, 54%, 97%. Copy any format from the conversion table above.
What colors go well with #F8D672?
The complementary color is HSL(225, 90%, 71%). 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%, 71%) in CSS?
As HSL: color: hsl(45, 90%, 71%); — As HEX: color: #F8D672; — As RGB: color: rgb(248, 214, 114); — Tailwind CSS: bg-[hsl(45,90%,71%)] — CSS variable: --color-primary: hsl(45, 90%, 71%);