HSL(52, 68%, 68%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,68%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 68%, 68%) | color: hsl(52, 68%, 68%) | |
| HEX | #E5D676 | color: #E5D676 | |
| RGB | rgb(229, 214, 118) | color: rgb(229, 214, 118) | |
| CMYK | cmyk(0%, 7%, 48%, 10%) | — | |
| HSV | hsv(52, 48%, 90%) | — | |
| HWB | hwb(52 47% 10%) | color: hwb(52 47% 10%) | |
| OKLCH | oklch(0.8684 0.1186 100.56) | color: oklch(0.8684 0.1186 100.56) | |
| Lab | lab(85.03 -7.43 48.93) | color: lab(85.03 -7.43 48.93) | |
| LCH | lch(85.03 49.49 98.63) | color: lch(85.03 49.49 98.63) |
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)
#DFDE8D — rgb(223, 222, 141)
Deuteranopia (Green-blind)
#DFE193 — rgb(223, 225, 147)
Tritanopia (Blue-blind)
#E4A0A4 — rgb(228, 160, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 68%, 68%);
text
color: hsl(52, 68%, 68%);
border
border: 2px solid hsl(52, 68%, 68%);
gradient light
background: linear-gradient(to right, hsl(52, 68%, 88%), hsl(52, 68%, 68%));
gradient dark
background: linear-gradient(to right, hsl(52, 68%, 68%), hsl(52, 68%, 48%))
hex
background-color: #E5D676;
tailwind
bg-[hsl(52,68%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 68%, 68%, 0.4);
css variable
--color-primary: hsl(52, 68%, 68%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 68%, 68%)?
HEX: #E5D676 | RGB: rgb(229, 214, 118) | CMYK: 0%, 7%, 48%, 10% | HSV: 52°, 48%, 90%. Copy any format from the conversion table above.
What colors go well with #E5D676?
The complementary color is HSL(232, 68%, 68%). 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, 68%, 68%) in CSS?
As HSL: color: hsl(52, 68%, 68%); — As HEX: color: #E5D676; — As RGB: color: rgb(229, 214, 118); — Tailwind CSS: bg-[hsl(52,68%,68%)] — CSS variable: --color-primary: hsl(52, 68%, 68%);