HSL(112, 74%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,74%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 74%, 28%) | color: hsl(112, 74%, 28%) | |
| HEX | #217C13 | color: #217C13 | |
| RGB | rgb(33, 124, 19) | color: rgb(33, 124, 19) | |
| CMYK | cmyk(73%, 0%, 85%, 51%) | — | |
| HSV | hsv(112, 85%, 49%) | — | |
| HWB | hwb(112 7% 51%) | color: hwb(112 7% 51%) | |
| OKLCH | oklch(0.5138 0.1597 141.38) | color: oklch(0.5138 0.1597 141.38) | |
| Lab | lab(45.34 -45.7 45.01) | color: lab(45.34 -45.7 45.01) | |
| LCH | lch(45.34 64.14 135.44) | color: lch(45.34 64.14 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: white
Color Blindness Simulation
Protanopia (Red-blind)
#48492C — rgb(72, 73, 44)
Deuteranopia (Green-blind)
#433C33 — rgb(67, 60, 51)
Tritanopia (Blue-blind)
#264045 — rgb(38, 64, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 74%, 28%);
text
color: hsl(112, 74%, 28%);
border
border: 2px solid hsl(112, 74%, 28%);
gradient light
background: linear-gradient(to right, hsl(112, 74%, 48%), hsl(112, 74%, 28%));
gradient dark
background: linear-gradient(to right, hsl(112, 74%, 28%), hsl(112, 74%, 8%))
hex
background-color: #217C13;
tailwind
bg-[hsl(112,74%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 74%, 28%, 0.4);
css variable
--color-primary: hsl(112, 74%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 74%, 28%)?
HEX: #217C13 | RGB: rgb(33, 124, 19) | CMYK: 73%, 0%, 85%, 51% | HSV: 112°, 85%, 49%. Copy any format from the conversion table above.
What colors go well with #217C13?
The complementary color is HSL(292, 74%, 28%). 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, 74%, 28%) in CSS?
As HSL: color: hsl(112, 74%, 28%); — As HEX: color: #217C13; — As RGB: color: rgb(33, 124, 19); — Tailwind CSS: bg-[hsl(112,74%,28%)] — CSS variable: --color-primary: hsl(112, 74%, 28%);