HSL(71, 87%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,87%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 87%, 18%) | color: hsl(71, 87%, 18%) | |
| HEX | #475606 | color: #475606 | |
| RGB | rgb(71, 86, 6) | color: rgb(71, 86, 6) | |
| CMYK | cmyk(17%, 0%, 93%, 66%) | — | |
| HSV | hsv(71, 93%, 34%) | — | |
| HWB | hwb(71 2% 66%) | color: hwb(71 2% 66%) | |
| OKLCH | oklch(0.4253 0.0986 120.84) | color: oklch(0.4253 0.0986 120.84) | |
| Lab | lab(34 -16.88 39.31) | color: lab(34 -16.88 39.31) | |
| LCH | lch(34 42.78 113.24) | color: lch(34 42.78 113.24) |
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)
#4D4E19 — rgb(77, 78, 25)
Deuteranopia (Green-blind)
#4D4C1E — rgb(77, 76, 30)
Tritanopia (Blue-blind)
#48292C — rgb(72, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 87%, 18%);
text
color: hsl(71, 87%, 18%);
border
border: 2px solid hsl(71, 87%, 18%);
gradient light
background: linear-gradient(to right, hsl(71, 87%, 38%), hsl(71, 87%, 18%));
gradient dark
background: linear-gradient(to right, hsl(71, 87%, 18%), hsl(71, 87%, 0%))
hex
background-color: #475606;
tailwind
bg-[hsl(71,87%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 87%, 18%, 0.4);
css variable
--color-primary: hsl(71, 87%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 87%, 18%)?
HEX: #475606 | RGB: rgb(71, 86, 6) | CMYK: 17%, 0%, 93%, 66% | HSV: 71°, 93%, 34%. Copy any format from the conversion table above.
What colors go well with #475606?
The complementary color is HSL(251, 87%, 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, 87%, 18%) in CSS?
As HSL: color: hsl(71, 87%, 18%); — As HEX: color: #475606; — As RGB: color: rgb(71, 86, 6); — Tailwind CSS: bg-[hsl(71,87%,18%)] — CSS variable: --color-primary: hsl(71, 87%, 18%);