HSL(52, 57%, 73%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,57%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 57%, 73%) | color: hsl(52, 57%, 73%) | |
| HEX | #E1D793 | color: #E1D793 | |
| RGB | rgb(225, 215, 147) | color: rgb(225, 215, 147) | |
| CMYK | cmyk(0%, 4%, 35%, 12%) | — | |
| HSV | hsv(52, 35%, 88%) | — | |
| HWB | hwb(52 57% 12%) | color: hwb(52 57% 12%) | |
| OKLCH | oklch(0.8715 0.0878 100.86) | color: oklch(0.8715 0.0878 100.86) | |
| Lab | lab(85.36 -6.51 34.84) | color: lab(85.36 -6.51 34.84) | |
| LCH | lch(85.36 35.44 100.58) | color: lch(85.36 35.44 100.58) |
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)
#DDDDA3 — rgb(221, 221, 163)
Deuteranopia (Green-blind)
#DDDEA7 — rgb(221, 222, 167)
Tritanopia (Blue-blind)
#E1B0B3 — rgb(225, 176, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 57%, 73%);
text
color: hsl(52, 57%, 73%);
border
border: 2px solid hsl(52, 57%, 73%);
gradient light
background: linear-gradient(to right, hsl(52, 57%, 93%), hsl(52, 57%, 73%));
gradient dark
background: linear-gradient(to right, hsl(52, 57%, 73%), hsl(52, 57%, 53%))
hex
background-color: #E1D793;
tailwind
bg-[hsl(52,57%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 57%, 73%, 0.4);
css variable
--color-primary: hsl(52, 57%, 73%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 57%, 73%)?
HEX: #E1D793 | RGB: rgb(225, 215, 147) | CMYK: 0%, 4%, 35%, 12% | HSV: 52°, 35%, 88%. Copy any format from the conversion table above.
What colors go well with #E1D793?
The complementary color is HSL(232, 57%, 73%). 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, 57%, 73%) in CSS?
As HSL: color: hsl(52, 57%, 73%); — As HEX: color: #E1D793; — As RGB: color: rgb(225, 215, 147); — Tailwind CSS: bg-[hsl(52,57%,73%)] — CSS variable: --color-primary: hsl(52, 57%, 73%);