HSL(112, 70%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,70%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 70%, 40%) | color: hsl(112, 70%, 40%) | |
| HEX | #32AD1F | color: #32AD1F | |
| RGB | rgb(50, 173, 31) | color: rgb(50, 173, 31) | |
| CMYK | cmyk(71%, 0%, 82%, 32%) | — | |
| HSV | hsv(112, 82%, 68%) | — | |
| HWB | hwb(112 12% 32%) | color: hwb(112 12% 32%) | |
| OKLCH | oklch(0.6553 0.2034 141.37) | color: oklch(0.6553 0.2034 141.37) | |
| Lab | lab(62.22 -58.21 57.33) | color: lab(62.22 -58.21 57.33) | |
| LCH | lch(62.22 81.7 135.44) | color: lch(62.22 81.7 135.44) |
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)
#676841 — rgb(103, 104, 65)
Deuteranopia (Green-blind)
#60574A — rgb(96, 87, 74)
Tritanopia (Blue-blind)
#385C62 — rgb(56, 92, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 70%, 40%);
text
color: hsl(112, 70%, 40%);
border
border: 2px solid hsl(112, 70%, 40%);
gradient light
background: linear-gradient(to right, hsl(112, 70%, 60%), hsl(112, 70%, 40%));
gradient dark
background: linear-gradient(to right, hsl(112, 70%, 40%), hsl(112, 70%, 20%))
hex
background-color: #32AD1F;
tailwind
bg-[hsl(112,70%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 70%, 40%, 0.4);
css variable
--color-primary: hsl(112, 70%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 70%, 40%)?
HEX: #32AD1F | RGB: rgb(50, 173, 31) | CMYK: 71%, 0%, 82%, 32% | HSV: 112°, 82%, 68%. Copy any format from the conversion table above.
What colors go well with #32AD1F?
The complementary color is HSL(292, 70%, 40%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 70%, 40%) in CSS?
As HSL: color: hsl(112, 70%, 40%); — As HEX: color: #32AD1F; — As RGB: color: rgb(50, 173, 31); — Tailwind CSS: bg-[hsl(112,70%,40%)] — CSS variable: --color-primary: hsl(112, 70%, 40%);