HSL(50, 23%, 43%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,23%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 23%, 43%) | color: hsl(50, 23%, 43%) | |
| HEX | #877E54 | color: #877E54 | |
| RGB | rgb(135, 126, 84) | color: rgb(135, 126, 84) | |
| CMYK | cmyk(0%, 7%, 38%, 47%) | — | |
| HSV | hsv(49, 38%, 53%) | — | |
| HWB | hwb(49 33% 47%) | color: hwb(49 33% 47%) | |
| OKLCH | oklch(0.5906 0.0601 97.54) | color: oklch(0.5906 0.0601 97.54) | |
| Lab | lab(52.63 -3.21 24.13) | color: lab(52.63 -3.21 24.13) | |
| LCH | lch(52.63 24.34 97.58) | color: lch(52.63 24.34 97.58) |
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)
#83835E — rgb(131, 131, 94)
Deuteranopia (Green-blind)
#848461 — rgb(132, 132, 97)
Tritanopia (Blue-blind)
#876668 — rgb(135, 102, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 23%, 43%);
text
color: hsl(50, 23%, 43%);
border
border: 2px solid hsl(50, 23%, 43%);
gradient light
background: linear-gradient(to right, hsl(50, 23%, 63%), hsl(50, 23%, 43%));
gradient dark
background: linear-gradient(to right, hsl(50, 23%, 43%), hsl(50, 23%, 23%))
hex
background-color: #877E54;
tailwind
bg-[hsl(50,23%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 23%, 43%, 0.4);
css variable
--color-primary: hsl(50, 23%, 43%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 23%, 43%)?
HEX: #877E54 | RGB: rgb(135, 126, 84) | CMYK: 0%, 7%, 38%, 47% | HSV: 49°, 38%, 53%. Copy any format from the conversion table above.
What colors go well with #877E54?
The complementary color is HSL(230, 23%, 43%). 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, 23%, 43%) in CSS?
As HSL: color: hsl(50, 23%, 43%); — As HEX: color: #877E54; — As RGB: color: rgb(135, 126, 84); — Tailwind CSS: bg-[hsl(50,23%,43%)] — CSS variable: --color-primary: hsl(50, 23%, 43%);