HSL(47, 40%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,40%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 40%, 47%) | color: hsl(47, 40%, 47%) | |
| HEX | #A89348 | color: #A89348 | |
| RGB | rgb(168, 147, 72) | color: rgb(168, 147, 72) | |
| CMYK | cmyk(0%, 13%, 57%, 34%) | — | |
| HSV | hsv(47, 57%, 66%) | — | |
| HWB | hwb(47 28% 34%) | color: hwb(47 28% 34%) | |
| OKLCH | oklch(0.6664 0.0984 93.94) | color: oklch(0.6664 0.0984 93.94) | |
| Lab | lab(61.36 -1.74 41.98) | color: lab(61.36 -1.74 41.98) | |
| LCH | lch(61.36 42.02 92.37) | color: lch(61.36 42.02 92.37) |
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)
#9F9F5A — rgb(159, 159, 90)
Deuteranopia (Green-blind)
#A0A25F — rgb(160, 162, 95)
Tritanopia (Blue-blind)
#A7686C — rgb(167, 104, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 40%, 47%);
text
color: hsl(47, 40%, 47%);
border
border: 2px solid hsl(47, 40%, 47%);
gradient light
background: linear-gradient(to right, hsl(47, 40%, 67%), hsl(47, 40%, 47%));
gradient dark
background: linear-gradient(to right, hsl(47, 40%, 47%), hsl(47, 40%, 27%))
hex
background-color: #A89348;
tailwind
bg-[hsl(47,40%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 40%, 47%, 0.4);
css variable
--color-primary: hsl(47, 40%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 40%, 47%)?
HEX: #A89348 | RGB: rgb(168, 147, 72) | CMYK: 0%, 13%, 57%, 34% | HSV: 47°, 57%, 66%. Copy any format from the conversion table above.
What colors go well with #A89348?
The complementary color is HSL(227, 40%, 47%). 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, 40%, 47%) in CSS?
As HSL: color: hsl(47, 40%, 47%); — As HEX: color: #A89348; — As RGB: color: rgb(168, 147, 72); — Tailwind CSS: bg-[hsl(47,40%,47%)] — CSS variable: --color-primary: hsl(47, 40%, 47%);