HSL(142, 69%, 39%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,69%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 69%, 39%) | color: hsl(142, 69%, 39%) | |
| HEX | #1FA851 | color: #1FA851 | |
| RGB | rgb(31, 168, 81) | color: rgb(31, 168, 81) | |
| CMYK | cmyk(82%, 0%, 52%, 34%) | — | |
| HSV | hsv(142, 82%, 66%) | — | |
| HWB | hwb(142 12% 34%) | color: hwb(142 12% 34%) | |
| OKLCH | oklch(0.6429 0.1682 149.79) | color: oklch(0.6429 0.1682 149.79) | |
| Lab | lab(60.68 -54.16 34.98) | color: lab(60.68 -54.16 34.98) | |
| LCH | lch(60.68 64.47 147.14) | color: lch(60.68 64.47 147.14) |
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)
#5A5C66 — rgb(90, 92, 102)
Deuteranopia (Green-blind)
#52486B — rgb(82, 72, 107)
Tritanopia (Blue-blind)
#26777A — rgb(38, 119, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 69%, 39%);
text
color: hsl(142, 69%, 39%);
border
border: 2px solid hsl(142, 69%, 39%);
gradient light
background: linear-gradient(to right, hsl(142, 69%, 59%), hsl(142, 69%, 39%));
gradient dark
background: linear-gradient(to right, hsl(142, 69%, 39%), hsl(142, 69%, 19%))
hex
background-color: #1FA851;
tailwind
bg-[hsl(142,69%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 69%, 39%, 0.4);
css variable
--color-primary: hsl(142, 69%, 39%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 69%, 39%)?
HEX: #1FA851 | RGB: rgb(31, 168, 81) | CMYK: 82%, 0%, 52%, 34% | HSV: 142°, 82%, 66%. Copy any format from the conversion table above.
What colors go well with #1FA851?
The complementary color is HSL(322, 69%, 39%). 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, 69%, 39%) in CSS?
As HSL: color: hsl(142, 69%, 39%); — As HEX: color: #1FA851; — As RGB: color: rgb(31, 168, 81); — Tailwind CSS: bg-[hsl(142,69%,39%)] — CSS variable: --color-primary: hsl(142, 69%, 39%);