HSL(128, 76%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,76%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 76%, 35%) | color: hsl(128, 76%, 35%) | |
| HEX | #159D28 | color: #159D28 | |
| RGB | rgb(21, 157, 40) | color: rgb(21, 157, 40) | |
| CMYK | cmyk(87%, 0%, 75%, 38%) | — | |
| HSV | hsv(128, 87%, 62%) | — | |
| HWB | hwb(128 8% 38%) | color: hwb(128 8% 38%) | |
| OKLCH | oklch(0.6066 0.1886 144.17) | color: oklch(0.6066 0.1886 144.17) | |
| Lab | lab(56.51 -56.6 48.7) | color: lab(56.51 -56.6 48.7) | |
| LCH | lch(56.51 74.67 139.29) | color: lch(56.51 74.67 139.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#505144 — rgb(80, 81, 68)
Deuteranopia (Green-blind)
#483E4B — rgb(72, 62, 75)
Tritanopia (Blue-blind)
#1C5B60 — rgb(28, 91, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 76%, 35%);
text
color: hsl(128, 76%, 35%);
border
border: 2px solid hsl(128, 76%, 35%);
gradient light
background: linear-gradient(to right, hsl(128, 76%, 55%), hsl(128, 76%, 35%));
gradient dark
background: linear-gradient(to right, hsl(128, 76%, 35%), hsl(128, 76%, 15%))
hex
background-color: #159D28;
tailwind
bg-[hsl(128,76%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 76%, 35%, 0.4);
css variable
--color-primary: hsl(128, 76%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 76%, 35%)?
HEX: #159D28 | RGB: rgb(21, 157, 40) | CMYK: 87%, 0%, 75%, 38% | HSV: 128°, 87%, 62%. Copy any format from the conversion table above.
What colors go well with #159D28?
The complementary color is HSL(308, 76%, 35%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 76%, 35%) in CSS?
As HSL: color: hsl(128, 76%, 35%); — As HEX: color: #159D28; — As RGB: color: rgb(21, 157, 40); — Tailwind CSS: bg-[hsl(128,76%,35%)] — CSS variable: --color-primary: hsl(128, 76%, 35%);