HSL(47, 55%, 18%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,55%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 55%, 18%) | color: hsl(47, 55%, 18%) | |
| HEX | #473C15 | color: #473C15 | |
| RGB | rgb(71, 60, 21) | color: rgb(71, 60, 21) | |
| CMYK | cmyk(0%, 15%, 70%, 72%) | — | |
| HSV | hsv(47, 70%, 28%) | — | |
| HWB | hwb(47 8% 72%) | color: hwb(47 8% 72%) | |
| OKLCH | oklch(0.3588 0.0579 93.49) | color: oklch(0.3588 0.0579 93.49) | |
| Lab | lab(25.64 -0.64 25.24) | color: lab(25.64 -0.64 25.24) | |
| LCH | lch(25.64 25.25 91.45) | color: lch(25.64 25.25 91.45) |
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)
#42421E — rgb(66, 66, 30)
Deuteranopia (Green-blind)
#434421 — rgb(67, 68, 33)
Tritanopia (Blue-blind)
#462628 — rgb(70, 38, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 55%, 18%);
text
color: hsl(47, 55%, 18%);
border
border: 2px solid hsl(47, 55%, 18%);
gradient light
background: linear-gradient(to right, hsl(47, 55%, 38%), hsl(47, 55%, 18%));
gradient dark
background: linear-gradient(to right, hsl(47, 55%, 18%), hsl(47, 55%, 0%))
hex
background-color: #473C15;
tailwind
bg-[hsl(47,55%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 55%, 18%, 0.4);
css variable
--color-primary: hsl(47, 55%, 18%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 55%, 18%)?
HEX: #473C15 | RGB: rgb(71, 60, 21) | CMYK: 0%, 15%, 70%, 72% | HSV: 47°, 70%, 28%. Copy any format from the conversion table above.
What colors go well with #473C15?
The complementary color is HSL(227, 55%, 18%). 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, 55%, 18%) in CSS?
As HSL: color: hsl(47, 55%, 18%); — As HEX: color: #473C15; — As RGB: color: rgb(71, 60, 21); — Tailwind CSS: bg-[hsl(47,55%,18%)] — CSS variable: --color-primary: hsl(47, 55%, 18%);