HSL(55, 92%, 18%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,92%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 92%, 18%) | color: hsl(55, 92%, 18%) | |
| HEX | #585104 | color: #585104 | |
| RGB | rgb(88, 81, 4) | color: rgb(88, 81, 4) | |
| CMYK | cmyk(0%, 8%, 95%, 65%) | — | |
| HSV | hsv(55, 95%, 35%) | — | |
| HWB | hwb(55 2% 65%) | color: hwb(55 2% 65%) | |
| OKLCH | oklch(0.4284 0.0884 103.61) | color: oklch(0.4284 0.0884 103.61) | |
| Lab | lab(33.92 -5.69 40.53) | color: lab(33.92 -5.69 40.53) | |
| LCH | lch(33.92 40.93 97.99) | color: lch(33.92 40.93 97.99) |
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)
#555517 — rgb(85, 85, 23)
Deuteranopia (Green-blind)
#55561B — rgb(85, 86, 27)
Tritanopia (Blue-blind)
#582529 — rgb(88, 37, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 92%, 18%);
text
color: hsl(55, 92%, 18%);
border
border: 2px solid hsl(55, 92%, 18%);
gradient light
background: linear-gradient(to right, hsl(55, 92%, 38%), hsl(55, 92%, 18%));
gradient dark
background: linear-gradient(to right, hsl(55, 92%, 18%), hsl(55, 92%, 0%))
hex
background-color: #585104;
tailwind
bg-[hsl(55,92%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 92%, 18%, 0.4);
css variable
--color-primary: hsl(55, 92%, 18%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 92%, 18%)?
HEX: #585104 | RGB: rgb(88, 81, 4) | CMYK: 0%, 8%, 95%, 65% | HSV: 55°, 95%, 35%. Copy any format from the conversion table above.
What colors go well with #585104?
The complementary color is HSL(235, 92%, 18%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(55, 92%, 18%) in CSS?
As HSL: color: hsl(55, 92%, 18%); — As HEX: color: #585104; — As RGB: color: rgb(88, 81, 4); — Tailwind CSS: bg-[hsl(55,92%,18%)] — CSS variable: --color-primary: hsl(55, 92%, 18%);