HSL(55, 40%, 16%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,40%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 40%, 16%) | color: hsl(55, 40%, 16%) | |
| HEX | #393618 | color: #393618 | |
| RGB | rgb(57, 54, 24) | color: rgb(57, 54, 24) | |
| CMYK | cmyk(0%, 5%, 58%, 78%) | — | |
| HSV | hsv(55, 58%, 22%) | — | |
| HWB | hwb(55 9% 78%) | color: hwb(55 9% 78%) | |
| OKLCH | oklch(0.3281 0.0468 103.54) | color: oklch(0.3281 0.0468 103.54) | |
| Lab | lab(22.21 -3.73 19.17) | color: lab(22.21 -3.73 19.17) | |
| LCH | lch(22.21 19.53 101.01) | color: lch(22.21 19.53 101.01) |
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)
#38381F — rgb(56, 56, 31)
Deuteranopia (Green-blind)
#383821 — rgb(56, 56, 33)
Tritanopia (Blue-blind)
#392526 — rgb(57, 37, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 40%, 16%);
text
color: hsl(55, 40%, 16%);
border
border: 2px solid hsl(55, 40%, 16%);
gradient light
background: linear-gradient(to right, hsl(55, 40%, 36%), hsl(55, 40%, 16%));
gradient dark
background: linear-gradient(to right, hsl(55, 40%, 16%), hsl(55, 40%, 0%))
hex
background-color: #393618;
tailwind
bg-[hsl(55,40%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 40%, 16%, 0.4);
css variable
--color-primary: hsl(55, 40%, 16%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 40%, 16%)?
HEX: #393618 | RGB: rgb(57, 54, 24) | CMYK: 0%, 5%, 58%, 78% | HSV: 55°, 58%, 22%. Copy any format from the conversion table above.
What colors go well with #393618?
The complementary color is HSL(235, 40%, 16%). 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, 40%, 16%) in CSS?
As HSL: color: hsl(55, 40%, 16%); — As HEX: color: #393618; — As RGB: color: rgb(57, 54, 24); — Tailwind CSS: bg-[hsl(55,40%,16%)] — CSS variable: --color-primary: hsl(55, 40%, 16%);