HSL(116, 66%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(116,66%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(116, 66%, 27%) | color: hsl(116, 66%, 27%) | |
| HEX | #1D7217 | color: #1D7217 | |
| RGB | rgb(29, 114, 23) | color: rgb(29, 114, 23) | |
| CMYK | cmyk(75%, 0%, 80%, 55%) | — | |
| HSV | hsv(116, 80%, 45%) | — | |
| HWB | hwb(116 9% 55%) | color: hwb(116 9% 55%) | |
| OKLCH | oklch(0.4841 0.1473 142.14) | color: oklch(0.4841 0.1473 142.14) | |
| Lab | lab(41.78 -42.72 40.28) | color: lab(41.78 -42.72 40.28) | |
| LCH | lch(41.78 58.72 136.68) | color: lch(41.78 58.72 136.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)
#42432D — rgb(66, 67, 45)
Deuteranopia (Green-blind)
#3D3732 — rgb(61, 55, 50)
Tritanopia (Blue-blind)
#213E42 — rgb(33, 62, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(116, 66%, 27%);
text
color: hsl(116, 66%, 27%);
border
border: 2px solid hsl(116, 66%, 27%);
gradient light
background: linear-gradient(to right, hsl(116, 66%, 47%), hsl(116, 66%, 27%));
gradient dark
background: linear-gradient(to right, hsl(116, 66%, 27%), hsl(116, 66%, 7%))
hex
background-color: #1D7217;
tailwind
bg-[hsl(116,66%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(116, 66%, 27%, 0.4);
css variable
--color-primary: hsl(116, 66%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(116, 66%, 27%)?
HEX: #1D7217 | RGB: rgb(29, 114, 23) | CMYK: 75%, 0%, 80%, 55% | HSV: 116°, 80%, 45%. Copy any format from the conversion table above.
What colors go well with #1D7217?
The complementary color is HSL(296, 66%, 27%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(116, 66%, 27%) in CSS?
As HSL: color: hsl(116, 66%, 27%); — As HEX: color: #1D7217; — As RGB: color: rgb(29, 114, 23); — Tailwind CSS: bg-[hsl(116,66%,27%)] — CSS variable: --color-primary: hsl(116, 66%, 27%);