HSL(59, 60%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,60%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 60%, 50%) | color: hsl(59, 60%, 50%) | |
| HEX | #CCC933 | color: #CCC933 | |
| RGB | rgb(204, 201, 51) | color: rgb(204, 201, 51) | |
| CMYK | cmyk(0%, 1%, 75%, 20%) | — | |
| HSV | hsv(59, 75%, 80%) | — | |
| HWB | hwb(59 20% 20%) | color: hwb(59 20% 20%) | |
| OKLCH | oklch(0.8132 0.161 108.32) | color: oklch(0.8132 0.161 108.32) | |
| Lab | lab(78.96 -15.63 69.8) | color: lab(78.96 -15.63 69.8) | |
| LCH | lch(78.96 71.53 102.62) | color: lch(78.96 71.53 102.62) |
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)
#CBCB57 — rgb(203, 203, 87)
Deuteranopia (Green-blind)
#CBCB60 — rgb(203, 203, 96)
Tritanopia (Blue-blind)
#CC747A — rgb(204, 116, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 60%, 50%);
text
color: hsl(59, 60%, 50%);
border
border: 2px solid hsl(59, 60%, 50%);
gradient light
background: linear-gradient(to right, hsl(59, 60%, 70%), hsl(59, 60%, 50%));
gradient dark
background: linear-gradient(to right, hsl(59, 60%, 50%), hsl(59, 60%, 30%))
hex
background-color: #CCC933;
tailwind
bg-[hsl(59,60%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 60%, 50%, 0.4);
css variable
--color-primary: hsl(59, 60%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 60%, 50%)?
HEX: #CCC933 | RGB: rgb(204, 201, 51) | CMYK: 0%, 1%, 75%, 20% | HSV: 59°, 75%, 80%. Copy any format from the conversion table above.
What colors go well with #CCC933?
The complementary color is HSL(239, 60%, 50%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 60%, 50%) in CSS?
As HSL: color: hsl(59, 60%, 50%); — As HEX: color: #CCC933; — As RGB: color: rgb(204, 201, 51); — Tailwind CSS: bg-[hsl(59,60%,50%)] — CSS variable: --color-primary: hsl(59, 60%, 50%);