HSL(142, 97%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,97%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 97%, 28%) | color: hsl(142, 97%, 28%) | |
| HEX | #028D35 | color: #028D35 | |
| RGB | rgb(2, 141, 53) | color: rgb(2, 141, 53) | |
| CMYK | cmyk(99%, 0%, 62%, 45%) | — | |
| HSV | hsv(142, 99%, 55%) | — | |
| HWB | hwb(142 1% 45%) | color: hwb(142 1% 45%) | |
| OKLCH | oklch(0.5611 0.1635 147.6) | color: oklch(0.5611 0.1635 147.6) | |
| Lab | lab(51.06 -51.5 37.21) | color: lab(51.06 -51.5 37.21) | |
| LCH | lch(51.06 63.54 144.15) | color: lch(51.06 63.54 144.15) |
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)
#3E3F4A — rgb(62, 63, 74)
Deuteranopia (Green-blind)
#362C4F — rgb(54, 44, 79)
Tritanopia (Blue-blind)
#095B5F — rgb(9, 91, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 97%, 28%);
text
color: hsl(142, 97%, 28%);
border
border: 2px solid hsl(142, 97%, 28%);
gradient light
background: linear-gradient(to right, hsl(142, 97%, 48%), hsl(142, 97%, 28%));
gradient dark
background: linear-gradient(to right, hsl(142, 97%, 28%), hsl(142, 97%, 8%))
hex
background-color: #028D35;
tailwind
bg-[hsl(142,97%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 97%, 28%, 0.4);
css variable
--color-primary: hsl(142, 97%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 97%, 28%)?
HEX: #028D35 | RGB: rgb(2, 141, 53) | CMYK: 99%, 0%, 62%, 45% | HSV: 142°, 99%, 55%. Copy any format from the conversion table above.
What colors go well with #028D35?
The complementary color is HSL(322, 97%, 28%). 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, 97%, 28%) in CSS?
As HSL: color: hsl(142, 97%, 28%); — As HEX: color: #028D35; — As RGB: color: rgb(2, 141, 53); — Tailwind CSS: bg-[hsl(142,97%,28%)] — CSS variable: --color-primary: hsl(142, 97%, 28%);