HSL(57, 50%, 60%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,50%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 50%, 60%) | color: hsl(57, 50%, 60%) | |
| HEX | #CCC766 | color: #CCC766 | |
| RGB | rgb(204, 199, 102) | color: rgb(204, 199, 102) | |
| CMYK | cmyk(0%, 2%, 50%, 20%) | — | |
| HSV | hsv(57, 50%, 80%) | — | |
| HWB | hwb(57 40% 20%) | color: hwb(57 40% 20%) | |
| OKLCH | oklch(0.8136 0.1199 106.12) | color: oklch(0.8136 0.1199 106.12) | |
| Lab | lab(78.84 -11.37 48.69) | color: lab(78.84 -11.37 48.69) | |
| LCH | lch(78.84 50 103.14) | color: lch(78.84 50 103.14) |
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)
#CACA7D — rgb(202, 202, 125)
Deuteranopia (Green-blind)
#CACB83 — rgb(202, 203, 131)
Tritanopia (Blue-blind)
#CC9094 — rgb(204, 144, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 50%, 60%);
text
color: hsl(57, 50%, 60%);
border
border: 2px solid hsl(57, 50%, 60%);
gradient light
background: linear-gradient(to right, hsl(57, 50%, 80%), hsl(57, 50%, 60%));
gradient dark
background: linear-gradient(to right, hsl(57, 50%, 60%), hsl(57, 50%, 40%))
hex
background-color: #CCC766;
tailwind
bg-[hsl(57,50%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 50%, 60%, 0.4);
css variable
--color-primary: hsl(57, 50%, 60%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 50%, 60%)?
HEX: #CCC766 | RGB: rgb(204, 199, 102) | CMYK: 0%, 2%, 50%, 20% | HSV: 57°, 50%, 80%. Copy any format from the conversion table above.
What colors go well with #CCC766?
The complementary color is HSL(237, 50%, 60%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 50%, 60%) in CSS?
As HSL: color: hsl(57, 50%, 60%); — As HEX: color: #CCC766; — As RGB: color: rgb(204, 199, 102); — Tailwind CSS: bg-[hsl(57,50%,60%)] — CSS variable: --color-primary: hsl(57, 50%, 60%);