HSL(142, 74%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,74%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 74%, 34%) | color: hsl(142, 74%, 34%) | |
| HEX | #179746 | color: #179746 | |
| RGB | rgb(23, 151, 70) | color: rgb(23, 151, 70) | |
| CMYK | cmyk(85%, 0%, 54%, 41%) | — | |
| HSV | hsv(142, 85%, 59%) | — | |
| HWB | hwb(142 9% 41%) | color: hwb(142 9% 41%) | |
| OKLCH | oklch(0.5935 0.1582 149.5) | color: oklch(0.5935 0.1582 149.5) | |
| Lab | lab(54.82 -50.82 33.32) | color: lab(54.82 -50.82 33.32) | |
| LCH | lch(54.82 60.77 146.75) | color: lch(54.82 60.77 146.75) |
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)
#4E505A — rgb(78, 80, 90)
Deuteranopia (Green-blind)
#473D5E — rgb(71, 61, 94)
Tritanopia (Blue-blind)
#1D696C — rgb(29, 105, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 74%, 34%);
text
color: hsl(142, 74%, 34%);
border
border: 2px solid hsl(142, 74%, 34%);
gradient light
background: linear-gradient(to right, hsl(142, 74%, 54%), hsl(142, 74%, 34%));
gradient dark
background: linear-gradient(to right, hsl(142, 74%, 34%), hsl(142, 74%, 14%))
hex
background-color: #179746;
tailwind
bg-[hsl(142,74%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 74%, 34%, 0.4);
css variable
--color-primary: hsl(142, 74%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 74%, 34%)?
HEX: #179746 | RGB: rgb(23, 151, 70) | CMYK: 85%, 0%, 54%, 41% | HSV: 142°, 85%, 59%. Copy any format from the conversion table above.
What colors go well with #179746?
The complementary color is HSL(322, 74%, 34%). 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, 74%, 34%) in CSS?
As HSL: color: hsl(142, 74%, 34%); — As HEX: color: #179746; — As RGB: color: rgb(23, 151, 70); — Tailwind CSS: bg-[hsl(142,74%,34%)] — CSS variable: --color-primary: hsl(142, 74%, 34%);