HSL(112, 74%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,74%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 74%, 26%) | color: hsl(112, 74%, 26%) | |
| HEX | #1E7311 | color: #1E7311 | |
| RGB | rgb(30, 115, 17) | color: rgb(30, 115, 17) | |
| CMYK | cmyk(74%, 0%, 85%, 55%) | — | |
| HSV | hsv(112, 85%, 45%) | — | |
| HWB | hwb(112 7% 55%) | color: hwb(112 7% 55%) | |
| OKLCH | oklch(0.4869 0.1512 141.39) | color: oklch(0.4869 0.1512 141.39) | |
| Lab | lab(42.12 -43.28 42.6) | color: lab(42.12 -43.28 42.6) | |
| LCH | lch(42.12 60.73 135.45) | color: lch(42.12 60.73 135.45) |
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)
#434429 — rgb(67, 68, 41)
Deuteranopia (Green-blind)
#3E382E — rgb(62, 56, 46)
Tritanopia (Blue-blind)
#223B40 — rgb(34, 59, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 74%, 26%);
text
color: hsl(112, 74%, 26%);
border
border: 2px solid hsl(112, 74%, 26%);
gradient light
background: linear-gradient(to right, hsl(112, 74%, 46%), hsl(112, 74%, 26%));
gradient dark
background: linear-gradient(to right, hsl(112, 74%, 26%), hsl(112, 74%, 6%))
hex
background-color: #1E7311;
tailwind
bg-[hsl(112,74%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 74%, 26%, 0.4);
css variable
--color-primary: hsl(112, 74%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 74%, 26%)?
HEX: #1E7311 | RGB: rgb(30, 115, 17) | CMYK: 74%, 0%, 85%, 55% | HSV: 112°, 85%, 45%. Copy any format from the conversion table above.
What colors go well with #1E7311?
The complementary color is HSL(292, 74%, 26%). 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%, 26%) in CSS?
As HSL: color: hsl(112, 74%, 26%); — As HEX: color: #1E7311; — As RGB: color: rgb(30, 115, 17); — Tailwind CSS: bg-[hsl(112,74%,26%)] — CSS variable: --color-primary: hsl(112, 74%, 26%);