HSL(50, 20%, 46%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,20%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 20%, 46%) | color: hsl(50, 20%, 46%) | |
| HEX | #8D855E | color: #8D855E | |
| RGB | rgb(141, 133, 94) | color: rgb(141, 133, 94) | |
| CMYK | cmyk(0%, 6%, 33%, 45%) | — | |
| HSV | hsv(50, 33%, 55%) | — | |
| HWB | hwb(50 37% 45%) | color: hwb(50 37% 45%) | |
| OKLCH | oklch(0.6137 0.0558 97.94) | color: oklch(0.6137 0.0558 97.94) | |
| Lab | lab(55.33 -3.29 22.16) | color: lab(55.33 -3.29 22.16) | |
| LCH | lch(55.33 22.4 98.44) | color: lch(55.33 22.4 98.44) |
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)
#8A8967 — rgb(138, 137, 103)
Deuteranopia (Green-blind)
#8A8B6A — rgb(138, 139, 106)
Tritanopia (Blue-blind)
#8D6F71 — rgb(141, 111, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 20%, 46%);
text
color: hsl(50, 20%, 46%);
border
border: 2px solid hsl(50, 20%, 46%);
gradient light
background: linear-gradient(to right, hsl(50, 20%, 66%), hsl(50, 20%, 46%));
gradient dark
background: linear-gradient(to right, hsl(50, 20%, 46%), hsl(50, 20%, 26%))
hex
background-color: #8D855E;
tailwind
bg-[hsl(50,20%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 20%, 46%, 0.4);
css variable
--color-primary: hsl(50, 20%, 46%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 20%, 46%)?
HEX: #8D855E | RGB: rgb(141, 133, 94) | CMYK: 0%, 6%, 33%, 45% | HSV: 50°, 33%, 55%. Copy any format from the conversion table above.
What colors go well with #8D855E?
The complementary color is HSL(230, 20%, 46%). 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%, 46%) in CSS?
As HSL: color: hsl(50, 20%, 46%); — As HEX: color: #8D855E; — As RGB: color: rgb(141, 133, 94); — Tailwind CSS: bg-[hsl(50,20%,46%)] — CSS variable: --color-primary: hsl(50, 20%, 46%);