HSL(51, 91%, 19%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,91%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 91%, 19%) | color: hsl(51, 91%, 19%) | |
| HEX | #5D4F04 | color: #5D4F04 | |
| RGB | rgb(93, 79, 4) | color: rgb(93, 79, 4) | |
| CMYK | cmyk(0%, 15%, 96%, 64%) | — | |
| HSV | hsv(51, 96%, 36%) | — | |
| HWB | hwb(51 1% 64%) | color: hwb(51 1% 64%) | |
| OKLCH | oklch(0.429 0.0865 97.02) | color: oklch(0.429 0.0865 97.02) | |
| Lab | lab(33.83 -1.95 40.69) | color: lab(33.83 -1.95 40.69) | |
| LCH | lch(33.83 40.74 92.74) | color: lch(33.83 40.74 92.74) |
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)
#575716 — rgb(87, 87, 22)
Deuteranopia (Green-blind)
#58591B — rgb(88, 89, 27)
Tritanopia (Blue-blind)
#5C2428 — rgb(92, 36, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 91%, 19%);
text
color: hsl(51, 91%, 19%);
border
border: 2px solid hsl(51, 91%, 19%);
gradient light
background: linear-gradient(to right, hsl(51, 91%, 39%), hsl(51, 91%, 19%));
gradient dark
background: linear-gradient(to right, hsl(51, 91%, 19%), hsl(51, 91%, 0%))
hex
background-color: #5D4F04;
tailwind
bg-[hsl(51,91%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 91%, 19%, 0.4);
css variable
--color-primary: hsl(51, 91%, 19%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 91%, 19%)?
HEX: #5D4F04 | RGB: rgb(93, 79, 4) | CMYK: 0%, 15%, 96%, 64% | HSV: 51°, 96%, 36%. Copy any format from the conversion table above.
What colors go well with #5D4F04?
The complementary color is HSL(231, 91%, 19%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 91%, 19%) in CSS?
As HSL: color: hsl(51, 91%, 19%); — As HEX: color: #5D4F04; — As RGB: color: rgb(93, 79, 4); — Tailwind CSS: bg-[hsl(51,91%,19%)] — CSS variable: --color-primary: hsl(51, 91%, 19%);