HSL(112, 20%, 54%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,20%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 20%, 54%) | color: hsl(112, 20%, 54%) | |
| HEX | #78A172 | color: #78A172 | |
| RGB | rgb(120, 161, 114) | color: rgb(120, 161, 114) | |
| CMYK | cmyk(25%, 0%, 29%, 37%) | — | |
| HSV | hsv(112, 29%, 63%) | — | |
| HWB | hwb(112 45% 37%) | color: hwb(112 45% 37%) | |
| OKLCH | oklch(0.6663 0.0814 141.41) | color: oklch(0.6663 0.0814 141.41) | |
| Lab | lab(62.25 -23.35 20.1) | color: lab(62.25 -23.35 20.1) | |
| LCH | lch(62.25 30.81 139.28) | color: lch(62.25 30.81 139.28) |
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)
#8A8A7D — rgb(138, 138, 125)
Deuteranopia (Green-blind)
#878480 — rgb(135, 132, 128)
Tritanopia (Blue-blind)
#7A8688 — rgb(122, 134, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 20%, 54%);
text
color: hsl(112, 20%, 54%);
border
border: 2px solid hsl(112, 20%, 54%);
gradient light
background: linear-gradient(to right, hsl(112, 20%, 74%), hsl(112, 20%, 54%));
gradient dark
background: linear-gradient(to right, hsl(112, 20%, 54%), hsl(112, 20%, 34%))
hex
background-color: #78A172;
tailwind
bg-[hsl(112,20%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 20%, 54%, 0.4);
css variable
--color-primary: hsl(112, 20%, 54%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 20%, 54%)?
HEX: #78A172 | RGB: rgb(120, 161, 114) | CMYK: 25%, 0%, 29%, 37% | HSV: 112°, 29%, 63%. Copy any format from the conversion table above.
What colors go well with #78A172?
The complementary color is HSL(292, 20%, 54%). 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, 20%, 54%) in CSS?
As HSL: color: hsl(112, 20%, 54%); — As HEX: color: #78A172; — As RGB: color: rgb(120, 161, 114); — Tailwind CSS: bg-[hsl(112,20%,54%)] — CSS variable: --color-primary: hsl(112, 20%, 54%);