HSL(145, 20%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,20%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 20%, 46%) | color: hsl(145, 20%, 46%) | |
| HEX | #5E8D71 | color: #5E8D71 | |
| RGB | rgb(94, 141, 113) | color: rgb(94, 141, 113) | |
| CMYK | cmyk(33%, 0%, 20%, 45%) | — | |
| HSV | hsv(144, 33%, 55%) | — | |
| HWB | hwb(144 37% 45%) | color: hwb(144 37% 45%) | |
| OKLCH | oklch(0.6013 0.0668 157.52) | color: oklch(0.6013 0.0668 157.52) | |
| Lab | lab(54.68 -22.28 9.94) | color: lab(54.68 -22.28 9.94) | |
| LCH | lch(54.68 24.4 155.96) | color: lch(54.68 24.4 155.96) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#727378 — rgb(114, 115, 120)
Deuteranopia (Green-blind)
#706C79 — rgb(112, 108, 121)
Tritanopia (Blue-blind)
#607D7E — rgb(96, 125, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 20%, 46%);
text
color: hsl(145, 20%, 46%);
border
border: 2px solid hsl(145, 20%, 46%);
gradient light
background: linear-gradient(to right, hsl(145, 20%, 66%), hsl(145, 20%, 46%));
gradient dark
background: linear-gradient(to right, hsl(145, 20%, 46%), hsl(145, 20%, 26%))
hex
background-color: #5E8D71;
tailwind
bg-[hsl(145,20%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 20%, 46%, 0.4);
css variable
--color-primary: hsl(145, 20%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 20%, 46%)?
HEX: #5E8D71 | RGB: rgb(94, 141, 113) | CMYK: 33%, 0%, 20%, 45% | HSV: 144°, 33%, 55%. Copy any format from the conversion table above.
What colors go well with #5E8D71?
The complementary color is HSL(325, 20%, 46%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 20%, 46%) in CSS?
As HSL: color: hsl(145, 20%, 46%); — As HEX: color: #5E8D71; — As RGB: color: rgb(94, 141, 113); — Tailwind CSS: bg-[hsl(145,20%,46%)] — CSS variable: --color-primary: hsl(145, 20%, 46%);