HSL(118, 80%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,80%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 80%, 46%) | color: hsl(118, 80%, 46%) | |
| HEX | #1ED317 | color: #1ED317 | |
| RGB | rgb(30, 211, 23) | color: rgb(30, 211, 23) | |
| CMYK | cmyk(86%, 0%, 89%, 17%) | — | |
| HSV | hsv(118, 89%, 83%) | — | |
| HWB | hwb(118 9% 17%) | color: hwb(118 9% 17%) | |
| OKLCH | oklch(0.7535 0.2489 142.38) | color: oklch(0.7535 0.2489 142.38) | |
| Lab | lab(74.14 -72.58 69.59) | color: lab(74.14 -72.58 69.59) | |
| LCH | lch(74.14 100.55 136.2) | color: lch(74.14 100.55 136.2) |
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)
#6C6E44 — rgb(108, 110, 68)
Deuteranopia (Green-blind)
#62544F — rgb(98, 84, 79)
Tritanopia (Blue-blind)
#276870 — rgb(39, 104, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 80%, 46%);
text
color: hsl(118, 80%, 46%);
border
border: 2px solid hsl(118, 80%, 46%);
gradient light
background: linear-gradient(to right, hsl(118, 80%, 66%), hsl(118, 80%, 46%));
gradient dark
background: linear-gradient(to right, hsl(118, 80%, 46%), hsl(118, 80%, 26%))
hex
background-color: #1ED317;
tailwind
bg-[hsl(118,80%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 80%, 46%, 0.4);
css variable
--color-primary: hsl(118, 80%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 80%, 46%)?
HEX: #1ED317 | RGB: rgb(30, 211, 23) | CMYK: 86%, 0%, 89%, 17% | HSV: 118°, 89%, 83%. Copy any format from the conversion table above.
What colors go well with #1ED317?
The complementary color is HSL(298, 80%, 46%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 80%, 46%) in CSS?
As HSL: color: hsl(118, 80%, 46%); — As HEX: color: #1ED317; — As RGB: color: rgb(30, 211, 23); — Tailwind CSS: bg-[hsl(118,80%,46%)] — CSS variable: --color-primary: hsl(118, 80%, 46%);