HSL(47, 40%, 53%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 40%, 53%) | color: hsl(47, 40%, 53%) | |
| HEX | #B7A257 | color: #B7A257 | |
| RGB | rgb(183, 162, 87) | color: rgb(183, 162, 87) | |
| CMYK | cmyk(0%, 11%, 52%, 28%) | — | |
| HSV | hsv(47, 52%, 72%) | — | |
| HWB | hwb(47 35% 28%) | color: hwb(47 35% 28%) | |
| OKLCH | oklch(0.7146 0.0985 94.09) | color: oklch(0.7146 0.0985 94.09) | |
| Lab | lab(66.97 -2.12 41.45) | color: lab(66.97 -2.12 41.45) | |
| LCH | lch(66.97 41.5 92.93) | color: lch(66.97 41.5 92.93) |
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)
#AEAE69 — rgb(174, 174, 105)
Deuteranopia (Green-blind)
#AFB16E — rgb(175, 177, 110)
Tritanopia (Blue-blind)
#B6777B — rgb(182, 119, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 40%, 53%);
text
color: hsl(47, 40%, 53%);
border
border: 2px solid hsl(47, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(47, 40%, 73%), hsl(47, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(47, 40%, 53%), hsl(47, 40%, 33%))
hex
background-color: #B7A257;
tailwind
bg-[hsl(47,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 40%, 53%, 0.4);
css variable
--color-primary: hsl(47, 40%, 53%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 40%, 53%)?
HEX: #B7A257 | RGB: rgb(183, 162, 87) | CMYK: 0%, 11%, 52%, 28% | HSV: 47°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #B7A257?
The complementary color is HSL(227, 40%, 53%). 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%, 53%) in CSS?
As HSL: color: hsl(47, 40%, 53%); — As HEX: color: #B7A257; — As RGB: color: rgb(183, 162, 87); — Tailwind CSS: bg-[hsl(47,40%,53%)] — CSS variable: --color-primary: hsl(47, 40%, 53%);