HSL(142, 37%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,37%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 37%, 19%) | color: hsl(142, 37%, 19%) | |
| HEX | #1F422C | color: #1F422C | |
| RGB | rgb(31, 66, 44) | color: rgb(31, 66, 44) | |
| CMYK | cmyk(53%, 0%, 33%, 74%) | — | |
| HSV | hsv(142, 53%, 26%) | — | |
| HWB | hwb(142 12% 74%) | color: hwb(142 12% 74%) | |
| OKLCH | oklch(0.3457 0.0565 154.55) | color: oklch(0.3457 0.0565 154.55) | |
| Lab | lab(24.86 -18.66 9.57) | color: lab(24.86 -18.66 9.57) | |
| LCH | lch(24.86 20.97 152.85) | color: lch(24.86 20.97 152.85) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#2E2E31 — rgb(46, 46, 49)
Deuteranopia (Green-blind)
#2C2A33 — rgb(44, 42, 51)
Tritanopia (Blue-blind)
#213636 — rgb(33, 54, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 37%, 19%);
text
color: hsl(142, 37%, 19%);
border
border: 2px solid hsl(142, 37%, 19%);
gradient light
background: linear-gradient(to right, hsl(142, 37%, 39%), hsl(142, 37%, 19%));
gradient dark
background: linear-gradient(to right, hsl(142, 37%, 19%), hsl(142, 37%, 0%))
hex
background-color: #1F422C;
tailwind
bg-[hsl(142,37%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 37%, 19%, 0.4);
css variable
--color-primary: hsl(142, 37%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 37%, 19%)?
HEX: #1F422C | RGB: rgb(31, 66, 44) | CMYK: 53%, 0%, 33%, 74% | HSV: 142°, 53%, 26%. Copy any format from the conversion table above.
What colors go well with #1F422C?
The complementary color is HSL(322, 37%, 19%). 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, 37%, 19%) in CSS?
As HSL: color: hsl(142, 37%, 19%); — As HEX: color: #1F422C; — As RGB: color: rgb(31, 66, 44); — Tailwind CSS: bg-[hsl(142,37%,19%)] — CSS variable: --color-primary: hsl(142, 37%, 19%);