HSL(142, 93%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,93%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 93%, 22%) | color: hsl(142, 93%, 22%) | |
| HEX | #046C2A | color: #046C2A | |
| RGB | rgb(4, 108, 42) | color: rgb(4, 108, 42) | |
| CMYK | cmyk(96%, 0%, 61%, 58%) | — | |
| HSV | hsv(142, 96%, 42%) | — | |
| HWB | hwb(142 2% 58%) | color: hwb(142 2% 58%) | |
| OKLCH | oklch(0.4641 0.1317 148.27) | color: oklch(0.4641 0.1317 148.27) | |
| Lab | lab(39.44 -41.78 29.16) | color: lab(39.44 -41.78 29.16) | |
| LCH | lch(39.44 50.95 145.09) | color: lch(39.44 50.95 145.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#31323A — rgb(49, 50, 58)
Deuteranopia (Green-blind)
#2B233E — rgb(43, 35, 62)
Tritanopia (Blue-blind)
#094749 — rgb(9, 71, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 93%, 22%);
text
color: hsl(142, 93%, 22%);
border
border: 2px solid hsl(142, 93%, 22%);
gradient light
background: linear-gradient(to right, hsl(142, 93%, 42%), hsl(142, 93%, 22%));
gradient dark
background: linear-gradient(to right, hsl(142, 93%, 22%), hsl(142, 93%, 2%))
hex
background-color: #046C2A;
tailwind
bg-[hsl(142,93%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 93%, 22%, 0.4);
css variable
--color-primary: hsl(142, 93%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 93%, 22%)?
HEX: #046C2A | RGB: rgb(4, 108, 42) | CMYK: 96%, 0%, 61%, 58% | HSV: 142°, 96%, 42%. Copy any format from the conversion table above.
What colors go well with #046C2A?
The complementary color is HSL(322, 93%, 22%). 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, 93%, 22%) in CSS?
As HSL: color: hsl(142, 93%, 22%); — As HEX: color: #046C2A; — As RGB: color: rgb(4, 108, 42); — Tailwind CSS: bg-[hsl(142,93%,22%)] — CSS variable: --color-primary: hsl(142, 93%, 22%);