HSL(47, 90%, 18%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 90%, 18%) | color: hsl(47, 90%, 18%) | |
| HEX | #574505 | color: #574505 | |
| RGB | rgb(87, 69, 5) | color: rgb(87, 69, 5) | |
| CMYK | cmyk(0%, 21%, 94%, 66%) | — | |
| HSV | hsv(47, 94%, 34%) | — | |
| HWB | hwb(47 2% 66%) | color: hwb(47 2% 66%) | |
| OKLCH | oklch(0.3982 0.0787 91.06) | color: oklch(0.3982 0.0787 91.06) | |
| Lab | lab(30.14 1.15 37.15) | color: lab(30.14 1.15 37.15) | |
| LCH | lch(30.14 37.17 88.23) | color: lch(30.14 37.17 88.23) |
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)
#4F4F14 — rgb(79, 79, 20)
Deuteranopia (Green-blind)
#505218 — rgb(80, 82, 24)
Tritanopia (Blue-blind)
#562123 — rgb(86, 33, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 90%, 18%);
text
color: hsl(47, 90%, 18%);
border
border: 2px solid hsl(47, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(47, 90%, 38%), hsl(47, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(47, 90%, 18%), hsl(47, 90%, 0%))
hex
background-color: #574505;
tailwind
bg-[hsl(47,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 90%, 18%, 0.4);
css variable
--color-primary: hsl(47, 90%, 18%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 90%, 18%)?
HEX: #574505 | RGB: rgb(87, 69, 5) | CMYK: 0%, 21%, 94%, 66% | HSV: 47°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #574505?
The complementary color is HSL(227, 90%, 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, 90%, 18%) in CSS?
As HSL: color: hsl(47, 90%, 18%); — As HEX: color: #574505; — As RGB: color: rgb(87, 69, 5); — Tailwind CSS: bg-[hsl(47,90%,18%)] — CSS variable: --color-primary: hsl(47, 90%, 18%);