HSL(51, 30%, 41%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,30%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 30%, 41%) | color: hsl(51, 30%, 41%) | |
| HEX | #887F49 | color: #887F49 | |
| RGB | rgb(136, 127, 73) | color: rgb(136, 127, 73) | |
| CMYK | cmyk(0%, 7%, 46%, 47%) | — | |
| HSV | hsv(51, 46%, 53%) | — | |
| HWB | hwb(51 29% 47%) | color: hwb(51 29% 47%) | |
| OKLCH | oklch(0.5918 0.0747 100) | color: oklch(0.5918 0.0747 100) | |
| Lab | lab(52.83 -4.62 30.48) | color: lab(52.83 -4.62 30.48) | |
| LCH | lch(52.83 30.83 98.62) | color: lch(52.83 30.83 98.62) |
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)
#848456 — rgb(132, 132, 86)
Deuteranopia (Green-blind)
#858559 — rgb(133, 133, 89)
Tritanopia (Blue-blind)
#886063 — rgb(136, 96, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 30%, 41%);
text
color: hsl(51, 30%, 41%);
border
border: 2px solid hsl(51, 30%, 41%);
gradient light
background: linear-gradient(to right, hsl(51, 30%, 61%), hsl(51, 30%, 41%));
gradient dark
background: linear-gradient(to right, hsl(51, 30%, 41%), hsl(51, 30%, 21%))
hex
background-color: #887F49;
tailwind
bg-[hsl(51,30%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 30%, 41%, 0.4);
css variable
--color-primary: hsl(51, 30%, 41%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 30%, 41%)?
HEX: #887F49 | RGB: rgb(136, 127, 73) | CMYK: 0%, 7%, 46%, 47% | HSV: 51°, 46%, 53%. Copy any format from the conversion table above.
What colors go well with #887F49?
The complementary color is HSL(231, 30%, 41%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 30%, 41%) in CSS?
As HSL: color: hsl(51, 30%, 41%); — As HEX: color: #887F49; — As RGB: color: rgb(136, 127, 73); — Tailwind CSS: bg-[hsl(51,30%,41%)] — CSS variable: --color-primary: hsl(51, 30%, 41%);