HSL(81, 62%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(81,62%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 62%, 18%) | color: hsl(81, 62%, 18%) | |
| HEX | #364A11 | color: #364A11 | |
| RGB | rgb(54, 74, 17) | color: rgb(54, 74, 17) | |
| CMYK | cmyk(27%, 0%, 77%, 71%) | — | |
| HSV | hsv(81, 77%, 29%) | — | |
| HWB | hwb(81 7% 71%) | color: hwb(81 7% 71%) | |
| OKLCH | oklch(0.3793 0.0846 126.92) | color: oklch(0.3793 0.0846 126.92) | |
| Lab | lab(28.7 -17.73 29.99) | color: lab(28.7 -17.73 29.99) | |
| LCH | lch(28.7 34.84 120.59) | color: lch(28.7 34.84 120.59) |
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)
#3F3F1F — rgb(63, 63, 31)
Deuteranopia (Green-blind)
#3E3C22 — rgb(62, 60, 34)
Tritanopia (Blue-blind)
#372A2C — rgb(55, 42, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 62%, 18%);
text
color: hsl(81, 62%, 18%);
border
border: 2px solid hsl(81, 62%, 18%);
gradient light
background: linear-gradient(to right, hsl(81, 62%, 38%), hsl(81, 62%, 18%));
gradient dark
background: linear-gradient(to right, hsl(81, 62%, 18%), hsl(81, 62%, 0%))
hex
background-color: #364A11;
tailwind
bg-[hsl(81,62%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 62%, 18%, 0.4);
css variable
--color-primary: hsl(81, 62%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(81, 62%, 18%)?
HEX: #364A11 | RGB: rgb(54, 74, 17) | CMYK: 27%, 0%, 77%, 71% | HSV: 81°, 77%, 29%. Copy any format from the conversion table above.
What colors go well with #364A11?
The complementary color is HSL(261, 62%, 18%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 62%, 18%) in CSS?
As HSL: color: hsl(81, 62%, 18%); — As HEX: color: #364A11; — As RGB: color: rgb(54, 74, 17); — Tailwind CSS: bg-[hsl(81,62%,18%)] — CSS variable: --color-primary: hsl(81, 62%, 18%);