HSL(54, 100%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,100%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 100%, 17%) | color: hsl(54, 100%, 17%) | |
| HEX | #574E00 | color: #574E00 | |
| RGB | rgb(87, 78, 0) | color: rgb(87, 78, 0) | |
| CMYK | cmyk(0%, 10%, 100%, 66%) | — | |
| HSV | hsv(54, 100%, 34%) | — | |
| HWB | hwb(54 0% 66%) | color: hwb(54 0% 66%) | |
| OKLCH | oklch(0.4197 0.0878 101.8) | color: oklch(0.4197 0.0878 101.8) | |
| Lab | lab(32.87 -4.54 41.12) | color: lab(32.87 -4.54 41.12) | |
| LCH | lch(32.87 41.37 96.3) | color: lch(32.87 41.37 96.3) |
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)
#535313 — rgb(83, 83, 19)
Deuteranopia (Green-blind)
#545417 — rgb(84, 84, 23)
Tritanopia (Blue-blind)
#572225 — rgb(87, 34, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 100%, 17%);
text
color: hsl(54, 100%, 17%);
border
border: 2px solid hsl(54, 100%, 17%);
gradient light
background: linear-gradient(to right, hsl(54, 100%, 37%), hsl(54, 100%, 17%));
gradient dark
background: linear-gradient(to right, hsl(54, 100%, 17%), hsl(54, 100%, 0%))
hex
background-color: #574E00;
tailwind
bg-[hsl(54,100%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 100%, 17%, 0.4);
css variable
--color-primary: hsl(54, 100%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 100%, 17%)?
HEX: #574E00 | RGB: rgb(87, 78, 0) | CMYK: 0%, 10%, 100%, 66% | HSV: 54°, 100%, 34%. Copy any format from the conversion table above.
What colors go well with #574E00?
The complementary color is HSL(234, 100%, 17%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 100%, 17%) in CSS?
As HSL: color: hsl(54, 100%, 17%); — As HEX: color: #574E00; — As RGB: color: rgb(87, 78, 0); — Tailwind CSS: bg-[hsl(54,100%,17%)] — CSS variable: --color-primary: hsl(54, 100%, 17%);