HSL(112, 74%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,74%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 74%, 34%) | color: hsl(112, 74%, 34%) | |
| HEX | #289717 | color: #289717 | |
| RGB | rgb(40, 151, 23) | color: rgb(40, 151, 23) | |
| CMYK | cmyk(74%, 0%, 85%, 41%) | — | |
| HSV | hsv(112, 85%, 59%) | — | |
| HWB | hwb(112 9% 41%) | color: hwb(112 9% 41%) | |
| OKLCH | oklch(0.5921 0.1859 141.43) | color: oklch(0.5921 0.1859 141.43) | |
| Lab | lab(54.7 -53.26 52.53) | color: lab(54.7 -53.26 52.53) | |
| LCH | lch(54.7 74.81 135.4) | color: lch(54.7 74.81 135.4) |
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)
#585936 — rgb(88, 89, 54)
Deuteranopia (Green-blind)
#52493D — rgb(82, 73, 61)
Tritanopia (Blue-blind)
#2E4E54 — rgb(46, 78, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 74%, 34%);
text
color: hsl(112, 74%, 34%);
border
border: 2px solid hsl(112, 74%, 34%);
gradient light
background: linear-gradient(to right, hsl(112, 74%, 54%), hsl(112, 74%, 34%));
gradient dark
background: linear-gradient(to right, hsl(112, 74%, 34%), hsl(112, 74%, 14%))
hex
background-color: #289717;
tailwind
bg-[hsl(112,74%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 74%, 34%, 0.4);
css variable
--color-primary: hsl(112, 74%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 74%, 34%)?
HEX: #289717 | RGB: rgb(40, 151, 23) | CMYK: 74%, 0%, 85%, 41% | HSV: 112°, 85%, 59%. Copy any format from the conversion table above.
What colors go well with #289717?
The complementary color is HSL(292, 74%, 34%). 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%, 34%) in CSS?
As HSL: color: hsl(112, 74%, 34%); — As HEX: color: #289717; — As RGB: color: rgb(40, 151, 23); — Tailwind CSS: bg-[hsl(112,74%,34%)] — CSS variable: --color-primary: hsl(112, 74%, 34%);