HSL(45, 90%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,90%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 90%, 64%) | color: hsl(45, 90%, 64%) | |
| HEX | #F6CD51 | color: #F6CD51 | |
| RGB | rgb(246, 205, 81) | color: rgb(246, 205, 81) | |
| CMYK | cmyk(0%, 17%, 67%, 4%) | — | |
| HSV | hsv(45, 67%, 96%) | — | |
| HWB | hwb(45 32% 4%) | color: hwb(45 32% 4%) | |
| OKLCH | oklch(0.8617 0.146 90.49) | color: oklch(0.8617 0.146 90.49) | |
| Lab | lab(83.89 1.5 64.79) | color: lab(83.89 1.5 64.79) | |
| LCH | lch(83.89 64.81 88.67) | color: lch(83.89 64.81 88.67) |
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)
#E4E46F — rgb(228, 228, 111)
Deuteranopia (Green-blind)
#E7EA76 — rgb(231, 234, 118)
Tritanopia (Blue-blind)
#F4878C — rgb(244, 135, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 90%, 64%);
text
color: hsl(45, 90%, 64%);
border
border: 2px solid hsl(45, 90%, 64%);
gradient light
background: linear-gradient(to right, hsl(45, 90%, 84%), hsl(45, 90%, 64%));
gradient dark
background: linear-gradient(to right, hsl(45, 90%, 64%), hsl(45, 90%, 44%))
hex
background-color: #F6CD51;
tailwind
bg-[hsl(45,90%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 90%, 64%, 0.4);
css variable
--color-primary: hsl(45, 90%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 90%, 64%)?
HEX: #F6CD51 | RGB: rgb(246, 205, 81) | CMYK: 0%, 17%, 67%, 4% | HSV: 45°, 67%, 96%. Copy any format from the conversion table above.
What colors go well with #F6CD51?
The complementary color is HSL(225, 90%, 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, 90%, 64%) in CSS?
As HSL: color: hsl(45, 90%, 64%); — As HEX: color: #F6CD51; — As RGB: color: rgb(246, 205, 81); — Tailwind CSS: bg-[hsl(45,90%,64%)] — CSS variable: --color-primary: hsl(45, 90%, 64%);