HSL(127, 87%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,87%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 87%, 18%) | color: hsl(127, 87%, 18%) | |
| HEX | #06560F | color: #06560F | |
| RGB | rgb(6, 86, 15) | color: rgb(6, 86, 15) | |
| CMYK | cmyk(93%, 0%, 83%, 66%) | — | |
| HSV | hsv(127, 93%, 34%) | — | |
| HWB | hwb(127 2% 66%) | color: hwb(127 2% 66%) | |
| OKLCH | oklch(0.3946 0.1246 143.81) | color: oklch(0.3946 0.1246 143.81) | |
| Lab | lab(31.18 -37.19 32.7) | color: lab(31.18 -37.19 32.7) | |
| LCH | lch(31.18 49.52 138.68) | color: lch(31.18 49.52 138.68) |
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)
#292920 — rgb(41, 41, 32)
Deuteranopia (Green-blind)
#241E24 — rgb(36, 30, 36)
Tritanopia (Blue-blind)
#0A2E31 — rgb(10, 46, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 87%, 18%);
text
color: hsl(127, 87%, 18%);
border
border: 2px solid hsl(127, 87%, 18%);
gradient light
background: linear-gradient(to right, hsl(127, 87%, 38%), hsl(127, 87%, 18%));
gradient dark
background: linear-gradient(to right, hsl(127, 87%, 18%), hsl(127, 87%, 0%))
hex
background-color: #06560F;
tailwind
bg-[hsl(127,87%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 87%, 18%, 0.4);
css variable
--color-primary: hsl(127, 87%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 87%, 18%)?
HEX: #06560F | RGB: rgb(6, 86, 15) | CMYK: 93%, 0%, 83%, 66% | HSV: 127°, 93%, 34%. Copy any format from the conversion table above.
What colors go well with #06560F?
The complementary color is HSL(307, 87%, 18%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 87%, 18%) in CSS?
As HSL: color: hsl(127, 87%, 18%); — As HEX: color: #06560F; — As RGB: color: rgb(6, 86, 15); — Tailwind CSS: bg-[hsl(127,87%,18%)] — CSS variable: --color-primary: hsl(127, 87%, 18%);