HSL(71, 62%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,62%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 62%, 18%) | color: hsl(71, 62%, 18%) | |
| HEX | #404A11 | color: #404A11 | |
| RGB | rgb(64, 74, 17) | color: rgb(64, 74, 17) | |
| CMYK | cmyk(14%, 0%, 77%, 71%) | — | |
| HSV | hsv(71, 77%, 29%) | — | |
| HWB | hwb(71 7% 71%) | color: hwb(71 7% 71%) | |
| OKLCH | oklch(0.3876 0.0794 118.93) | color: oklch(0.3876 0.0794 118.93) | |
| Lab | lab(29.48 -12.99 31.03) | color: lab(29.48 -12.99 31.03) | |
| LCH | lch(29.48 33.64 112.72) | color: lch(29.48 33.64 112.72) |
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)
#44441F — rgb(68, 68, 31)
Deuteranopia (Green-blind)
#444322 — rgb(68, 67, 34)
Tritanopia (Blue-blind)
#412A2C — rgb(65, 42, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 62%, 18%);
text
color: hsl(71, 62%, 18%);
border
border: 2px solid hsl(71, 62%, 18%);
gradient light
background: linear-gradient(to right, hsl(71, 62%, 38%), hsl(71, 62%, 18%));
gradient dark
background: linear-gradient(to right, hsl(71, 62%, 18%), hsl(71, 62%, 0%))
hex
background-color: #404A11;
tailwind
bg-[hsl(71,62%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 62%, 18%, 0.4);
css variable
--color-primary: hsl(71, 62%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 62%, 18%)?
HEX: #404A11 | RGB: rgb(64, 74, 17) | CMYK: 14%, 0%, 77%, 71% | HSV: 71°, 77%, 29%. Copy any format from the conversion table above.
What colors go well with #404A11?
The complementary color is HSL(251, 62%, 18%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(71, 62%, 18%) in CSS?
As HSL: color: hsl(71, 62%, 18%); — As HEX: color: #404A11; — As RGB: color: rgb(64, 74, 17); — Tailwind CSS: bg-[hsl(71,62%,18%)] — CSS variable: --color-primary: hsl(71, 62%, 18%);