HSL(145, 20%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,20%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 20%, 26%) | color: hsl(145, 20%, 26%) | |
| HEX | #355040 | color: #355040 | |
| RGB | rgb(53, 80, 64) | color: rgb(53, 80, 64) | |
| CMYK | cmyk(34%, 0%, 20%, 69%) | — | |
| HSV | hsv(144, 34%, 31%) | — | |
| HWB | hwb(144 20% 69%) | color: hwb(144 20% 69%) | |
| OKLCH | oklch(0.4043 0.0425 157.84) | color: oklch(0.4043 0.0425 157.84) | |
| Lab | lab(31.5 -14.16 6.22) | color: lab(31.5 -14.16 6.22) | |
| LCH | lch(31.5 15.47 156.29) | color: lch(31.5 15.47 156.29) |
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)
#414144 — rgb(65, 65, 68)
Deuteranopia (Green-blind)
#3F3D45 — rgb(63, 61, 69)
Tritanopia (Blue-blind)
#364748 — rgb(54, 71, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 20%, 26%);
text
color: hsl(145, 20%, 26%);
border
border: 2px solid hsl(145, 20%, 26%);
gradient light
background: linear-gradient(to right, hsl(145, 20%, 46%), hsl(145, 20%, 26%));
gradient dark
background: linear-gradient(to right, hsl(145, 20%, 26%), hsl(145, 20%, 6%))
hex
background-color: #355040;
tailwind
bg-[hsl(145,20%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 20%, 26%, 0.4);
css variable
--color-primary: hsl(145, 20%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 20%, 26%)?
HEX: #355040 | RGB: rgb(53, 80, 64) | CMYK: 34%, 0%, 20%, 69% | HSV: 144°, 34%, 31%. Copy any format from the conversion table above.
What colors go well with #355040?
The complementary color is HSL(325, 20%, 26%). 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%, 26%) in CSS?
As HSL: color: hsl(145, 20%, 26%); — As HEX: color: #355040; — As RGB: color: rgb(53, 80, 64); — Tailwind CSS: bg-[hsl(145,20%,26%)] — CSS variable: --color-primary: hsl(145, 20%, 26%);