HSL(147, 58%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(147,58%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(147, 58%, 20%) | color: hsl(147, 58%, 20%) | |
| HEX | #155130 | color: #155130 | |
| RGB | rgb(21, 81, 48) | color: rgb(21, 81, 48) | |
| CMYK | cmyk(74%, 0%, 41%, 68%) | — | |
| HSV | hsv(147, 74%, 32%) | — | |
| HWB | hwb(147 8% 68%) | color: hwb(147 8% 68%) | |
| OKLCH | oklch(0.3875 0.0829 154.95) | color: oklch(0.3875 0.0829 154.95) | |
| Lab | lab(30.05 -27.76 14.02) | color: lab(30.05 -27.76 14.02) | |
| LCH | lch(30.05 31.1 153.2) | color: lch(30.05 31.1 153.2) |
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)
#2F3038 — rgb(47, 48, 56)
Deuteranopia (Green-blind)
#2C273A — rgb(44, 39, 58)
Tritanopia (Blue-blind)
#183E40 — rgb(24, 62, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(147, 58%, 20%);
text
color: hsl(147, 58%, 20%);
border
border: 2px solid hsl(147, 58%, 20%);
gradient light
background: linear-gradient(to right, hsl(147, 58%, 40%), hsl(147, 58%, 20%));
gradient dark
background: linear-gradient(to right, hsl(147, 58%, 20%), hsl(147, 58%, 0%))
hex
background-color: #155130;
tailwind
bg-[hsl(147,58%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(147, 58%, 20%, 0.4);
css variable
--color-primary: hsl(147, 58%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(147, 58%, 20%)?
HEX: #155130 | RGB: rgb(21, 81, 48) | CMYK: 74%, 0%, 41%, 68% | HSV: 147°, 74%, 32%. Copy any format from the conversion table above.
What colors go well with #155130?
The complementary color is HSL(327, 58%, 20%). For a triadic harmony, use hues 147°, 267°, and 27°. For analogous combinations, try hues 117° and 177°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(147, 58%, 20%) in CSS?
As HSL: color: hsl(147, 58%, 20%); — As HEX: color: #155130; — As RGB: color: rgb(21, 81, 48); — Tailwind CSS: bg-[hsl(147,58%,20%)] — CSS variable: --color-primary: hsl(147, 58%, 20%);