HSL(142, 54%, 36%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,54%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 54%, 36%) | color: hsl(142, 54%, 36%) | |
| HEX | #2A8D4F | color: #2A8D4F | |
| RGB | rgb(42, 141, 79) | color: rgb(42, 141, 79) | |
| CMYK | cmyk(70%, 0%, 44%, 45%) | — | |
| HSV | hsv(142, 70%, 55%) | — | |
| HWB | hwb(142 17% 45%) | color: hwb(142 17% 45%) | |
| OKLCH | oklch(0.5713 0.131 151.85) | color: oklch(0.5713 0.131 151.85) | |
| Lab | lab(51.96 -42.85 25.02) | color: lab(51.96 -42.85 25.02) | |
| LCH | lch(51.96 49.62 149.72) | color: lch(51.96 49.62 149.72) |
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)
#55565E — rgb(85, 86, 94)
Deuteranopia (Green-blind)
#4F4862 — rgb(79, 72, 98)
Tritanopia (Blue-blind)
#2F6A6C — rgb(47, 106, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 54%, 36%);
text
color: hsl(142, 54%, 36%);
border
border: 2px solid hsl(142, 54%, 36%);
gradient light
background: linear-gradient(to right, hsl(142, 54%, 56%), hsl(142, 54%, 36%));
gradient dark
background: linear-gradient(to right, hsl(142, 54%, 36%), hsl(142, 54%, 16%))
hex
background-color: #2A8D4F;
tailwind
bg-[hsl(142,54%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 54%, 36%, 0.4);
css variable
--color-primary: hsl(142, 54%, 36%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 54%, 36%)?
HEX: #2A8D4F | RGB: rgb(42, 141, 79) | CMYK: 70%, 0%, 44%, 45% | HSV: 142°, 70%, 55%. Copy any format from the conversion table above.
What colors go well with #2A8D4F?
The complementary color is HSL(322, 54%, 36%). 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%, 36%) in CSS?
As HSL: color: hsl(142, 54%, 36%); — As HEX: color: #2A8D4F; — As RGB: color: rgb(42, 141, 79); — Tailwind CSS: bg-[hsl(142,54%,36%)] — CSS variable: --color-primary: hsl(142, 54%, 36%);