HSL(104, 21%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,21%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 21%, 28%) | color: hsl(104, 21%, 28%) | |
| HEX | #405638 | color: #405638 | |
| RGB | rgb(64, 86, 56) | color: rgb(64, 86, 56) | |
| CMYK | cmyk(26%, 0%, 35%, 66%) | — | |
| HSV | hsv(104, 35%, 34%) | — | |
| HWB | hwb(104 22% 66%) | color: hwb(104 22% 66%) | |
| OKLCH | oklch(0.4262 0.0551 137.56) | color: oklch(0.4262 0.0551 137.56) | |
| Lab | lab(34.05 -14.93 14.83) | color: lab(34.05 -14.93 14.83) | |
| LCH | lch(34.05 21.04 135.19) | color: lch(34.05 21.04 135.19) |
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)
#4A4A3F — rgb(74, 74, 63)
Deuteranopia (Green-blind)
#484741 — rgb(72, 71, 65)
Tritanopia (Blue-blind)
#414546 — rgb(65, 69, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 21%, 28%);
text
color: hsl(104, 21%, 28%);
border
border: 2px solid hsl(104, 21%, 28%);
gradient light
background: linear-gradient(to right, hsl(104, 21%, 48%), hsl(104, 21%, 28%));
gradient dark
background: linear-gradient(to right, hsl(104, 21%, 28%), hsl(104, 21%, 8%))
hex
background-color: #405638;
tailwind
bg-[hsl(104,21%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 21%, 28%, 0.4);
css variable
--color-primary: hsl(104, 21%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 21%, 28%)?
HEX: #405638 | RGB: rgb(64, 86, 56) | CMYK: 26%, 0%, 35%, 66% | HSV: 104°, 35%, 34%. Copy any format from the conversion table above.
What colors go well with #405638?
The complementary color is HSL(284, 21%, 28%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 21%, 28%) in CSS?
As HSL: color: hsl(104, 21%, 28%); — As HEX: color: #405638; — As RGB: color: rgb(64, 86, 56); — Tailwind CSS: bg-[hsl(104,21%,28%)] — CSS variable: --color-primary: hsl(104, 21%, 28%);