HSL(108, 20%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,20%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 20%, 28%) | color: hsl(108, 20%, 28%) | |
| HEX | #3F5639 | color: #3F5639 | |
| RGB | rgb(63, 86, 57) | color: rgb(63, 86, 57) | |
| CMYK | cmyk(27%, 0%, 34%, 66%) | — | |
| HSV | hsv(108, 34%, 34%) | — | |
| HWB | hwb(108 22% 66%) | color: hwb(108 22% 66%) | |
| OKLCH | oklch(0.4257 0.0545 139.26) | color: oklch(0.4257 0.0545 139.26) | |
| Lab | lab(34 -15.15 14.14) | color: lab(34 -15.15 14.14) | |
| LCH | lch(34 20.72 136.97) | color: lch(34 20.72 136.97) |
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)
#494940 — rgb(73, 73, 64)
Deuteranopia (Green-blind)
#484642 — rgb(72, 70, 66)
Tritanopia (Blue-blind)
#404647 — rgb(64, 70, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 20%, 28%);
text
color: hsl(108, 20%, 28%);
border
border: 2px solid hsl(108, 20%, 28%);
gradient light
background: linear-gradient(to right, hsl(108, 20%, 48%), hsl(108, 20%, 28%));
gradient dark
background: linear-gradient(to right, hsl(108, 20%, 28%), hsl(108, 20%, 8%))
hex
background-color: #3F5639;
tailwind
bg-[hsl(108,20%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 20%, 28%, 0.4);
css variable
--color-primary: hsl(108, 20%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 20%, 28%)?
HEX: #3F5639 | RGB: rgb(63, 86, 57) | CMYK: 27%, 0%, 34%, 66% | HSV: 108°, 34%, 34%. Copy any format from the conversion table above.
What colors go well with #3F5639?
The complementary color is HSL(288, 20%, 28%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 20%, 28%) in CSS?
As HSL: color: hsl(108, 20%, 28%); — As HEX: color: #3F5639; — As RGB: color: rgb(63, 86, 57); — Tailwind CSS: bg-[hsl(108,20%,28%)] — CSS variable: --color-primary: hsl(108, 20%, 28%);