HSL(50, 20%, 41%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 20%, 41%) | color: hsl(50, 20%, 41%) | |
| HEX | #7D7654 | color: #7D7654 | |
| RGB | rgb(125, 118, 84) | color: rgb(125, 118, 84) | |
| CMYK | cmyk(0%, 6%, 33%, 51%) | — | |
| HSV | hsv(50, 33%, 49%) | — | |
| HWB | hwb(50 33% 51%) | color: hwb(50 33% 51%) | |
| OKLCH | oklch(0.5632 0.0498 97.89) | color: oklch(0.5632 0.0498 97.89) | |
| Lab | lab(49.44 -2.96 19.74) | color: lab(49.44 -2.96 19.74) | |
| LCH | lch(49.44 19.96 98.53) | color: lch(49.44 19.96 98.53) |
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)
#7A7A5C — rgb(122, 122, 92)
Deuteranopia (Green-blind)
#7A7B5E — rgb(122, 123, 94)
Tritanopia (Blue-blind)
#7D6364 — rgb(125, 99, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 20%, 41%);
text
color: hsl(50, 20%, 41%);
border
border: 2px solid hsl(50, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(50, 20%, 61%), hsl(50, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(50, 20%, 41%), hsl(50, 20%, 21%))
hex
background-color: #7D7654;
tailwind
bg-[hsl(50,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 20%, 41%, 0.4);
css variable
--color-primary: hsl(50, 20%, 41%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 20%, 41%)?
HEX: #7D7654 | RGB: rgb(125, 118, 84) | CMYK: 0%, 6%, 33%, 51% | HSV: 50°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #7D7654?
The complementary color is HSL(230, 20%, 41%). 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, 20%, 41%) in CSS?
As HSL: color: hsl(50, 20%, 41%); — As HEX: color: #7D7654; — As RGB: color: rgb(125, 118, 84); — Tailwind CSS: bg-[hsl(50,20%,41%)] — CSS variable: --color-primary: hsl(50, 20%, 41%);