HSL(112, 78%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,78%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 78%, 40%) | color: hsl(112, 78%, 40%) | |
| HEX | #2CB616 | color: #2CB616 | |
| RGB | rgb(44, 182, 22) | color: rgb(44, 182, 22) | |
| CMYK | cmyk(76%, 0%, 88%, 29%) | — | |
| HSV | hsv(112, 88%, 71%) | — | |
| HWB | hwb(112 9% 29%) | color: hwb(112 9% 29%) | |
| OKLCH | oklch(0.6779 0.2178 141.5) | color: oklch(0.6779 0.2178 141.5) | |
| Lab | lab(65 -62.48 61.95) | color: lab(65 -62.48 61.95) | |
| LCH | lch(65 87.99 135.24) | color: lch(65 87.99 135.24) |
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)
#68693D — rgb(104, 105, 61)
Deuteranopia (Green-blind)
#605546 — rgb(96, 85, 70)
Tritanopia (Blue-blind)
#335B62 — rgb(51, 91, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 78%, 40%);
text
color: hsl(112, 78%, 40%);
border
border: 2px solid hsl(112, 78%, 40%);
gradient light
background: linear-gradient(to right, hsl(112, 78%, 60%), hsl(112, 78%, 40%));
gradient dark
background: linear-gradient(to right, hsl(112, 78%, 40%), hsl(112, 78%, 20%))
hex
background-color: #2CB616;
tailwind
bg-[hsl(112,78%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 78%, 40%, 0.4);
css variable
--color-primary: hsl(112, 78%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 78%, 40%)?
HEX: #2CB616 | RGB: rgb(44, 182, 22) | CMYK: 76%, 0%, 88%, 29% | HSV: 112°, 88%, 71%. Copy any format from the conversion table above.
What colors go well with #2CB616?
The complementary color is HSL(292, 78%, 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, 78%, 40%) in CSS?
As HSL: color: hsl(112, 78%, 40%); — As HEX: color: #2CB616; — As RGB: color: rgb(44, 182, 22); — Tailwind CSS: bg-[hsl(112,78%,40%)] — CSS variable: --color-primary: hsl(112, 78%, 40%);