HSL(50, 53%, 58%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,53%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 53%, 58%) | color: hsl(50, 53%, 58%) | |
| HEX | #CDBA5B | color: #CDBA5B | |
| RGB | rgb(205, 186, 91) | color: rgb(205, 186, 91) | |
| CMYK | cmyk(0%, 9%, 56%, 20%) | — | |
| HSV | hsv(50, 56%, 80%) | — | |
| HWB | hwb(50 35% 20%) | color: hwb(50 35% 20%) | |
| OKLCH | oklch(0.7858 0.1178 98.19) | color: oklch(0.7858 0.1178 98.19) | |
| Lab | lab(75.36 -5.18 49.88) | color: lab(75.36 -5.18 49.88) | |
| LCH | lch(75.36 50.15 95.93) | color: lch(75.36 50.15 95.93) |
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)
#C5C572 — rgb(197, 197, 114)
Deuteranopia (Green-blind)
#C6C778 — rgb(198, 199, 120)
Tritanopia (Blue-blind)
#CC8488 — rgb(204, 132, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 53%, 58%);
text
color: hsl(50, 53%, 58%);
border
border: 2px solid hsl(50, 53%, 58%);
gradient light
background: linear-gradient(to right, hsl(50, 53%, 78%), hsl(50, 53%, 58%));
gradient dark
background: linear-gradient(to right, hsl(50, 53%, 58%), hsl(50, 53%, 38%))
hex
background-color: #CDBA5B;
tailwind
bg-[hsl(50,53%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 53%, 58%, 0.4);
css variable
--color-primary: hsl(50, 53%, 58%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 53%, 58%)?
HEX: #CDBA5B | RGB: rgb(205, 186, 91) | CMYK: 0%, 9%, 56%, 20% | HSV: 50°, 56%, 80%. Copy any format from the conversion table above.
What colors go well with #CDBA5B?
The complementary color is HSL(230, 53%, 58%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(50, 53%, 58%) in CSS?
As HSL: color: hsl(50, 53%, 58%); — As HEX: color: #CDBA5B; — As RGB: color: rgb(205, 186, 91); — Tailwind CSS: bg-[hsl(50,53%,58%)] — CSS variable: --color-primary: hsl(50, 53%, 58%);