HSL(45, 92%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,92%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 92%, 64%) | color: hsl(45, 92%, 64%) | |
| HEX | #F8CD4F | color: #F8CD4F | |
| RGB | rgb(248, 205, 79) | color: rgb(248, 205, 79) | |
| CMYK | cmyk(0%, 17%, 68%, 3%) | — | |
| HSV | hsv(45, 68%, 97%) | — | |
| HWB | hwb(45 31% 3%) | color: hwb(45 31% 3%) | |
| OKLCH | oklch(0.8635 0.1479 89.81) | color: oklch(0.8635 0.1479 89.81) | |
| Lab | lab(84.06 2.23 65.85) | color: lab(84.06 2.23 65.85) | |
| LCH | lch(84.06 65.89 88.06) | color: lch(84.06 65.89 88.06) |
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)
#E5E56D — rgb(229, 229, 109)
Deuteranopia (Green-blind)
#E8EB75 — rgb(232, 235, 117)
Tritanopia (Blue-blind)
#F6868B — rgb(246, 134, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 92%, 64%);
text
color: hsl(45, 92%, 64%);
border
border: 2px solid hsl(45, 92%, 64%);
gradient light
background: linear-gradient(to right, hsl(45, 92%, 84%), hsl(45, 92%, 64%));
gradient dark
background: linear-gradient(to right, hsl(45, 92%, 64%), hsl(45, 92%, 44%))
hex
background-color: #F8CD4F;
tailwind
bg-[hsl(45,92%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 92%, 64%, 0.4);
css variable
--color-primary: hsl(45, 92%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 92%, 64%)?
HEX: #F8CD4F | RGB: rgb(248, 205, 79) | CMYK: 0%, 17%, 68%, 3% | HSV: 45°, 68%, 97%. Copy any format from the conversion table above.
What colors go well with #F8CD4F?
The complementary color is HSL(225, 92%, 64%). 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, 92%, 64%) in CSS?
As HSL: color: hsl(45, 92%, 64%); — As HEX: color: #F8CD4F; — As RGB: color: rgb(248, 205, 79); — Tailwind CSS: bg-[hsl(45,92%,64%)] — CSS variable: --color-primary: hsl(45, 92%, 64%);