HSL(142, 58%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,58%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 58%, 26%) | color: hsl(142, 58%, 26%) | |
| HEX | #1C6938 | color: #1C6938 | |
| RGB | rgb(28, 105, 56) | color: rgb(28, 105, 56) | |
| CMYK | cmyk(73%, 0%, 47%, 59%) | — | |
| HSV | hsv(142, 73%, 41%) | — | |
| HWB | hwb(142 11% 59%) | color: hwb(142 11% 59%) | |
| OKLCH | oklch(0.4619 0.1079 151.37) | color: oklch(0.4619 0.1079 151.37) | |
| Lab | lab(38.96 -35.14 20.98) | color: lab(38.96 -35.14 20.98) | |
| LCH | lch(38.96 40.93 149.16) | color: lch(38.96 40.93 149.16) |
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)
#3D3E44 — rgb(61, 62, 68)
Deuteranopia (Green-blind)
#393347 — rgb(57, 51, 71)
Tritanopia (Blue-blind)
#204D4F — rgb(32, 77, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 58%, 26%);
text
color: hsl(142, 58%, 26%);
border
border: 2px solid hsl(142, 58%, 26%);
gradient light
background: linear-gradient(to right, hsl(142, 58%, 46%), hsl(142, 58%, 26%));
gradient dark
background: linear-gradient(to right, hsl(142, 58%, 26%), hsl(142, 58%, 6%))
hex
background-color: #1C6938;
tailwind
bg-[hsl(142,58%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 58%, 26%, 0.4);
css variable
--color-primary: hsl(142, 58%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 58%, 26%)?
HEX: #1C6938 | RGB: rgb(28, 105, 56) | CMYK: 73%, 0%, 47%, 59% | HSV: 142°, 73%, 41%. Copy any format from the conversion table above.
What colors go well with #1C6938?
The complementary color is HSL(322, 58%, 26%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 58%, 26%) in CSS?
As HSL: color: hsl(142, 58%, 26%); — As HEX: color: #1C6938; — As RGB: color: rgb(28, 105, 56); — Tailwind CSS: bg-[hsl(142,58%,26%)] — CSS variable: --color-primary: hsl(142, 58%, 26%);