HSL(142, 54%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,54%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 54%, 45%) | color: hsl(142, 54%, 45%) | |
| HEX | #35B162 | color: #35B162 | |
| RGB | rgb(53, 177, 98) | color: rgb(53, 177, 98) | |
| CMYK | cmyk(70%, 0%, 45%, 31%) | — | |
| HSV | hsv(142, 70%, 69%) | — | |
| HWB | hwb(142 21% 31%) | color: hwb(142 21% 31%) | |
| OKLCH | oklch(0.6742 0.158 151.32) | color: oklch(0.6742 0.158 151.32) | |
| Lab | lab(64.23 -51.45 30.8) | color: lab(64.23 -51.45 30.8) | |
| LCH | lch(64.23 59.96 149.09) | color: lch(64.23 59.96 149.09) |
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)
#6B6C75 — rgb(107, 108, 117)
Deuteranopia (Green-blind)
#645A7A — rgb(100, 90, 122)
Tritanopia (Blue-blind)
#3B8488 — rgb(59, 132, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 54%, 45%);
text
color: hsl(142, 54%, 45%);
border
border: 2px solid hsl(142, 54%, 45%);
gradient light
background: linear-gradient(to right, hsl(142, 54%, 65%), hsl(142, 54%, 45%));
gradient dark
background: linear-gradient(to right, hsl(142, 54%, 45%), hsl(142, 54%, 25%))
hex
background-color: #35B162;
tailwind
bg-[hsl(142,54%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 54%, 45%, 0.4);
css variable
--color-primary: hsl(142, 54%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 54%, 45%)?
HEX: #35B162 | RGB: rgb(53, 177, 98) | CMYK: 70%, 0%, 45%, 31% | HSV: 142°, 70%, 69%. Copy any format from the conversion table above.
What colors go well with #35B162?
The complementary color is HSL(322, 54%, 45%). 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, 54%, 45%) in CSS?
As HSL: color: hsl(142, 54%, 45%); — As HEX: color: #35B162; — As RGB: color: rgb(53, 177, 98); — Tailwind CSS: bg-[hsl(142,54%,45%)] — CSS variable: --color-primary: hsl(142, 54%, 45%);