HSL(54, 79%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,79%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 79%, 52%) | color: hsl(54, 79%, 52%) | |
| HEX | #E5D224 | color: #E5D224 | |
| RGB | rgb(229, 210, 36) | color: rgb(229, 210, 36) | |
| CMYK | cmyk(0%, 8%, 84%, 10%) | — | |
| HSV | hsv(54, 84%, 90%) | — | |
| HWB | hwb(54 14% 10%) | color: hwb(54 14% 10%) | |
| OKLCH | oklch(0.8533 0.172 102.48) | color: oklch(0.8533 0.172 102.48) | |
| Lab | lab(83.38 -9.99 78.56) | color: lab(83.38 -9.99 78.56) | |
| LCH | lch(83.38 79.19 97.25) | color: lch(83.38 79.19 97.25) |
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)
#DDDD4E — rgb(221, 221, 78)
Deuteranopia (Green-blind)
#DEDF58 — rgb(222, 223, 88)
Tritanopia (Blue-blind)
#E46F77 — rgb(228, 111, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 79%, 52%);
text
color: hsl(54, 79%, 52%);
border
border: 2px solid hsl(54, 79%, 52%);
gradient light
background: linear-gradient(to right, hsl(54, 79%, 72%), hsl(54, 79%, 52%));
gradient dark
background: linear-gradient(to right, hsl(54, 79%, 52%), hsl(54, 79%, 32%))
hex
background-color: #E5D224;
tailwind
bg-[hsl(54,79%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 79%, 52%, 0.4);
css variable
--color-primary: hsl(54, 79%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 79%, 52%)?
HEX: #E5D224 | RGB: rgb(229, 210, 36) | CMYK: 0%, 8%, 84%, 10% | HSV: 54°, 84%, 90%. Copy any format from the conversion table above.
What colors go well with #E5D224?
The complementary color is HSL(234, 79%, 52%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 79%, 52%) in CSS?
As HSL: color: hsl(54, 79%, 52%); — As HEX: color: #E5D224; — As RGB: color: rgb(229, 210, 36); — Tailwind CSS: bg-[hsl(54,79%,52%)] — CSS variable: --color-primary: hsl(54, 79%, 52%);