HSL(47, 96%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,96%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 96%, 17%) | color: hsl(47, 96%, 17%) | |
| HEX | #554302 | color: #554302 | |
| RGB | rgb(85, 67, 2) | color: rgb(85, 67, 2) | |
| CMYK | cmyk(0%, 21%, 98%, 67%) | — | |
| HSV | hsv(47, 98%, 33%) | — | |
| HWB | hwb(47 1% 67%) | color: hwb(47 1% 67%) | |
| OKLCH | oklch(0.3909 0.0788 91.04) | color: oklch(0.3909 0.0788 91.04) | |
| Lab | lab(29.29 1.25 37.59) | color: lab(29.29 1.25 37.59) | |
| LCH | lch(29.29 37.61 88.1) | color: lch(29.29 37.61 88.1) |
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)
#4D4D12 — rgb(77, 77, 18)
Deuteranopia (Green-blind)
#4E5016 — rgb(78, 80, 22)
Tritanopia (Blue-blind)
#541E21 — rgb(84, 30, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 96%, 17%);
text
color: hsl(47, 96%, 17%);
border
border: 2px solid hsl(47, 96%, 17%);
gradient light
background: linear-gradient(to right, hsl(47, 96%, 37%), hsl(47, 96%, 17%));
gradient dark
background: linear-gradient(to right, hsl(47, 96%, 17%), hsl(47, 96%, 0%))
hex
background-color: #554302;
tailwind
bg-[hsl(47,96%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 96%, 17%, 0.4);
css variable
--color-primary: hsl(47, 96%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 96%, 17%)?
HEX: #554302 | RGB: rgb(85, 67, 2) | CMYK: 0%, 21%, 98%, 67% | HSV: 47°, 98%, 33%. Copy any format from the conversion table above.
What colors go well with #554302?
The complementary color is HSL(227, 96%, 17%). 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, 96%, 17%) in CSS?
As HSL: color: hsl(47, 96%, 17%); — As HEX: color: #554302; — As RGB: color: rgb(85, 67, 2); — Tailwind CSS: bg-[hsl(47,96%,17%)] — CSS variable: --color-primary: hsl(47, 96%, 17%);