HSL(51, 57%, 73%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,57%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 57%, 73%) | color: hsl(51, 57%, 73%) | |
| HEX | #E1D693 | color: #E1D693 | |
| RGB | rgb(225, 214, 147) | color: rgb(225, 214, 147) | |
| CMYK | cmyk(0%, 5%, 35%, 12%) | — | |
| HSV | hsv(52, 35%, 88%) | — | |
| HWB | hwb(52 57% 12%) | color: hwb(52 57% 12%) | |
| OKLCH | oklch(0.8695 0.0868 100) | color: oklch(0.8695 0.0868 100) | |
| Lab | lab(85.1 -6 34.5) | color: lab(85.1 -6 34.5) | |
| LCH | lch(85.1 35.02 99.87) | color: lch(85.1 35.02 99.87) |
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)
#DCDCA3 — rgb(220, 220, 163)
Deuteranopia (Green-blind)
#DDDEA7 — rgb(221, 222, 167)
Tritanopia (Blue-blind)
#E0B0B3 — rgb(224, 176, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 57%, 73%);
text
color: hsl(51, 57%, 73%);
border
border: 2px solid hsl(51, 57%, 73%);
gradient light
background: linear-gradient(to right, hsl(51, 57%, 93%), hsl(51, 57%, 73%));
gradient dark
background: linear-gradient(to right, hsl(51, 57%, 73%), hsl(51, 57%, 53%))
hex
background-color: #E1D693;
tailwind
bg-[hsl(51,57%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 57%, 73%, 0.4);
css variable
--color-primary: hsl(51, 57%, 73%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 57%, 73%)?
HEX: #E1D693 | RGB: rgb(225, 214, 147) | CMYK: 0%, 5%, 35%, 12% | HSV: 52°, 35%, 88%. Copy any format from the conversion table above.
What colors go well with #E1D693?
The complementary color is HSL(231, 57%, 73%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 57%, 73%) in CSS?
As HSL: color: hsl(51, 57%, 73%); — As HEX: color: #E1D693; — As RGB: color: rgb(225, 214, 147); — Tailwind CSS: bg-[hsl(51,57%,73%)] — CSS variable: --color-primary: hsl(51, 57%, 73%);