HSL(52, 78%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,78%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 78%, 62%) | color: hsl(52, 78%, 62%) | |
| HEX | #EAD653 | color: #EAD653 | |
| RGB | rgb(234, 214, 83) | color: rgb(234, 214, 83) | |
| CMYK | cmyk(0%, 9%, 65%, 8%) | — | |
| HSV | hsv(52, 65%, 92%) | — | |
| HWB | hwb(52 32% 8%) | color: hwb(52 32% 8%) | |
| OKLCH | oklch(0.8689 0.1495 100.58) | color: oklch(0.8689 0.1495 100.58) | |
| Lab | lab(85.1 -7.97 64.91) | color: lab(85.1 -7.97 64.91) | |
| LCH | lch(85.1 65.4 97) | color: lch(85.1 65.4 97) |
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)
#E1E173 — rgb(225, 225, 115)
Deuteranopia (Green-blind)
#E3E47A — rgb(227, 228, 122)
Tritanopia (Blue-blind)
#E98C91 — rgb(233, 140, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 78%, 62%);
text
color: hsl(52, 78%, 62%);
border
border: 2px solid hsl(52, 78%, 62%);
gradient light
background: linear-gradient(to right, hsl(52, 78%, 82%), hsl(52, 78%, 62%));
gradient dark
background: linear-gradient(to right, hsl(52, 78%, 62%), hsl(52, 78%, 42%))
hex
background-color: #EAD653;
tailwind
bg-[hsl(52,78%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 78%, 62%, 0.4);
css variable
--color-primary: hsl(52, 78%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 78%, 62%)?
HEX: #EAD653 | RGB: rgb(234, 214, 83) | CMYK: 0%, 9%, 65%, 8% | HSV: 52°, 65%, 92%. Copy any format from the conversion table above.
What colors go well with #EAD653?
The complementary color is HSL(232, 78%, 62%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 78%, 62%) in CSS?
As HSL: color: hsl(52, 78%, 62%); — As HEX: color: #EAD653; — As RGB: color: rgb(234, 214, 83); — Tailwind CSS: bg-[hsl(52,78%,62%)] — CSS variable: --color-primary: hsl(52, 78%, 62%);