HSL(47, 71%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,71%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 71%, 20%) | color: hsl(47, 71%, 20%) | |
| HEX | #57480F | color: #57480F | |
| RGB | rgb(87, 72, 15) | color: rgb(87, 72, 15) | |
| CMYK | cmyk(0%, 17%, 83%, 66%) | — | |
| HSV | hsv(48, 83%, 34%) | — | |
| HWB | hwb(48 6% 66%) | color: hwb(48 6% 66%) | |
| OKLCH | oklch(0.406 0.0751 93.47) | color: oklch(0.406 0.0751 93.47) | |
| Lab | lab(31.1 -0.32 34.24) | color: lab(31.1 -0.32 34.24) | |
| LCH | lch(31.1 34.24 90.54) | color: lch(31.1 34.24 90.54) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#51501D — rgb(81, 80, 29)
Deuteranopia (Green-blind)
#515320 — rgb(81, 83, 32)
Tritanopia (Blue-blind)
#56282A — rgb(86, 40, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 71%, 20%);
text
color: hsl(47, 71%, 20%);
border
border: 2px solid hsl(47, 71%, 20%);
gradient light
background: linear-gradient(to right, hsl(47, 71%, 40%), hsl(47, 71%, 20%));
gradient dark
background: linear-gradient(to right, hsl(47, 71%, 20%), hsl(47, 71%, 0%))
hex
background-color: #57480F;
tailwind
bg-[hsl(47,71%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 71%, 20%, 0.4);
css variable
--color-primary: hsl(47, 71%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 71%, 20%)?
HEX: #57480F | RGB: rgb(87, 72, 15) | CMYK: 0%, 17%, 83%, 66% | HSV: 48°, 83%, 34%. Copy any format from the conversion table above.
What colors go well with #57480F?
The complementary color is HSL(227, 71%, 20%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 71%, 20%) in CSS?
As HSL: color: hsl(47, 71%, 20%); — As HEX: color: #57480F; — As RGB: color: rgb(87, 72, 15); — Tailwind CSS: bg-[hsl(47,71%,20%)] — CSS variable: --color-primary: hsl(47, 71%, 20%);