HSL(50, 60%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,60%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 60%, 47%) | color: hsl(50, 60%, 47%) | |
| HEX | #C0A830 | color: #C0A830 | |
| RGB | rgb(192, 168, 48) | color: rgb(192, 168, 48) | |
| CMYK | cmyk(0%, 13%, 75%, 25%) | — | |
| HSV | hsv(50, 75%, 75%) | — | |
| HWB | hwb(50 19% 25%) | color: hwb(50 19% 25%) | |
| OKLCH | oklch(0.732 0.1356 97.37) | color: oklch(0.732 0.1356 97.37) | |
| Lab | lab(69.06 -3.95 61.19) | color: lab(69.06 -3.95 61.19) | |
| LCH | lch(69.06 61.32 93.69) | color: lch(69.06 61.32 93.69) |
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)
#B6B54D — rgb(182, 181, 77)
Deuteranopia (Green-blind)
#B7B954 — rgb(183, 185, 84)
Tritanopia (Blue-blind)
#BF6469 — rgb(191, 100, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 60%, 47%);
text
color: hsl(50, 60%, 47%);
border
border: 2px solid hsl(50, 60%, 47%);
gradient light
background: linear-gradient(to right, hsl(50, 60%, 67%), hsl(50, 60%, 47%));
gradient dark
background: linear-gradient(to right, hsl(50, 60%, 47%), hsl(50, 60%, 27%))
hex
background-color: #C0A830;
tailwind
bg-[hsl(50,60%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 60%, 47%, 0.4);
css variable
--color-primary: hsl(50, 60%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 60%, 47%)?
HEX: #C0A830 | RGB: rgb(192, 168, 48) | CMYK: 0%, 13%, 75%, 25% | HSV: 50°, 75%, 75%. Copy any format from the conversion table above.
What colors go well with #C0A830?
The complementary color is HSL(230, 60%, 47%). 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, 60%, 47%) in CSS?
As HSL: color: hsl(50, 60%, 47%); — As HEX: color: #C0A830; — As RGB: color: rgb(192, 168, 48); — Tailwind CSS: bg-[hsl(50,60%,47%)] — CSS variable: --color-primary: hsl(50, 60%, 47%);