HSL(108, 27%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,27%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 27%, 28%) | color: hsl(108, 27%, 28%) | |
| HEX | #3C5B34 | color: #3C5B34 | |
| RGB | rgb(60, 91, 52) | color: rgb(60, 91, 52) | |
| CMYK | cmyk(34%, 0%, 43%, 64%) | — | |
| HSV | hsv(108, 43%, 36%) | — | |
| HWB | hwb(108 21% 64%) | color: hwb(108 21% 64%) | |
| OKLCH | oklch(0.436 0.0718 139.36) | color: oklch(0.436 0.0718 139.36) | |
| Lab | lab(35.38 -19.94 18.94) | color: lab(35.38 -19.94 18.94) | |
| LCH | lch(35.38 27.5 136.47) | color: lch(35.38 27.5 136.47) |
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)
#494A3D — rgb(73, 74, 61)
Deuteranopia (Green-blind)
#484540 — rgb(72, 69, 64)
Tritanopia (Blue-blind)
#3E4547 — rgb(62, 69, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 27%, 28%);
text
color: hsl(108, 27%, 28%);
border
border: 2px solid hsl(108, 27%, 28%);
gradient light
background: linear-gradient(to right, hsl(108, 27%, 48%), hsl(108, 27%, 28%));
gradient dark
background: linear-gradient(to right, hsl(108, 27%, 28%), hsl(108, 27%, 8%))
hex
background-color: #3C5B34;
tailwind
bg-[hsl(108,27%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 27%, 28%, 0.4);
css variable
--color-primary: hsl(108, 27%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 27%, 28%)?
HEX: #3C5B34 | RGB: rgb(60, 91, 52) | CMYK: 34%, 0%, 43%, 64% | HSV: 108°, 43%, 36%. Copy any format from the conversion table above.
What colors go well with #3C5B34?
The complementary color is HSL(288, 27%, 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, 27%, 28%) in CSS?
As HSL: color: hsl(108, 27%, 28%); — As HEX: color: #3C5B34; — As RGB: color: rgb(60, 91, 52); — Tailwind CSS: bg-[hsl(108,27%,28%)] — CSS variable: --color-primary: hsl(108, 27%, 28%);