HSL(52, 77%, 57%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,77%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 77%, 57%) | color: hsl(52, 77%, 57%) | |
| HEX | #E6CF3D | color: #E6CF3D | |
| RGB | rgb(230, 207, 61) | color: rgb(230, 207, 61) | |
| CMYK | cmyk(0%, 10%, 73%, 10%) | — | |
| HSV | hsv(52, 73%, 90%) | — | |
| HWB | hwb(52 24% 10%) | color: hwb(52 24% 10%) | |
| OKLCH | oklch(0.8493 0.1583 99.97) | color: oklch(0.8493 0.1583 99.97) | |
| Lab | lab(82.8 -7.22 70.86) | color: lab(82.8 -7.22 70.86) | |
| LCH | lch(82.8 71.23 95.82) | color: lch(82.8 71.23 95.82) |
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)
#DCDC60 — rgb(220, 220, 96)
Deuteranopia (Green-blind)
#DDDF69 — rgb(221, 223, 105)
Tritanopia (Blue-blind)
#E57C82 — rgb(229, 124, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 77%, 57%);
text
color: hsl(52, 77%, 57%);
border
border: 2px solid hsl(52, 77%, 57%);
gradient light
background: linear-gradient(to right, hsl(52, 77%, 77%), hsl(52, 77%, 57%));
gradient dark
background: linear-gradient(to right, hsl(52, 77%, 57%), hsl(52, 77%, 37%))
hex
background-color: #E6CF3D;
tailwind
bg-[hsl(52,77%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 77%, 57%, 0.4);
css variable
--color-primary: hsl(52, 77%, 57%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 77%, 57%)?
HEX: #E6CF3D | RGB: rgb(230, 207, 61) | CMYK: 0%, 10%, 73%, 10% | HSV: 52°, 73%, 90%. Copy any format from the conversion table above.
What colors go well with #E6CF3D?
The complementary color is HSL(232, 77%, 57%). 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, 77%, 57%) in CSS?
As HSL: color: hsl(52, 77%, 57%); — As HEX: color: #E6CF3D; — As RGB: color: rgb(230, 207, 61); — Tailwind CSS: bg-[hsl(52,77%,57%)] — CSS variable: --color-primary: hsl(52, 77%, 57%);