HSL(49, 79%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,79%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 79%, 54%) | color: hsl(49, 79%, 54%) | |
| HEX | #E6C42D | color: #E6C42D | |
| RGB | rgb(230, 196, 45) | color: rgb(230, 196, 45) | |
| CMYK | cmyk(0%, 15%, 80%, 10%) | — | |
| HSV | hsv(49, 80%, 90%) | — | |
| HWB | hwb(49 18% 10%) | color: hwb(49 18% 10%) | |
| OKLCH | oklch(0.826 0.1588 95.28) | color: oklch(0.826 0.1588 95.28) | |
| Lab | lab(79.89 -2.19 73.32) | color: lab(79.89 -2.19 73.32) | |
| LCH | lch(79.89 73.35 91.71) | color: lch(79.89 73.35 91.71) |
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)
#D7D752 — rgb(215, 215, 82)
Deuteranopia (Green-blind)
#D9DC5A — rgb(217, 220, 90)
Tritanopia (Blue-blind)
#E46E75 — rgb(228, 110, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 79%, 54%);
text
color: hsl(49, 79%, 54%);
border
border: 2px solid hsl(49, 79%, 54%);
gradient light
background: linear-gradient(to right, hsl(49, 79%, 74%), hsl(49, 79%, 54%));
gradient dark
background: linear-gradient(to right, hsl(49, 79%, 54%), hsl(49, 79%, 34%))
hex
background-color: #E6C42D;
tailwind
bg-[hsl(49,79%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 79%, 54%, 0.4);
css variable
--color-primary: hsl(49, 79%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 79%, 54%)?
HEX: #E6C42D | RGB: rgb(230, 196, 45) | CMYK: 0%, 15%, 80%, 10% | HSV: 49°, 80%, 90%. Copy any format from the conversion table above.
What colors go well with #E6C42D?
The complementary color is HSL(229, 79%, 54%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 79%, 54%) in CSS?
As HSL: color: hsl(49, 79%, 54%); — As HEX: color: #E6C42D; — As RGB: color: rgb(230, 196, 45); — Tailwind CSS: bg-[hsl(49,79%,54%)] — CSS variable: --color-primary: hsl(49, 79%, 54%);