HSL(104, 80%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,80%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 80%, 17%) | color: hsl(104, 80%, 17%) | |
| HEX | #1B4E09 | color: #1B4E09 | |
| RGB | rgb(27, 78, 9) | color: rgb(27, 78, 9) | |
| CMYK | cmyk(65%, 0%, 88%, 69%) | — | |
| HSV | hsv(104, 88%, 31%) | — | |
| HWB | hwb(104 4% 69%) | color: hwb(104 4% 69%) | |
| OKLCH | oklch(0.3748 0.1109 139.36) | color: oklch(0.3748 0.1109 139.36) | |
| Lab | lab(28.65 -30.56 32.61) | color: lab(28.65 -30.56 32.61) | |
| LCH | lch(28.65 44.69 133.14) | color: lch(28.65 44.69 133.14) |
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)
#31321A — rgb(49, 50, 26)
Deuteranopia (Green-blind)
#2E2A1E — rgb(46, 42, 30)
Tritanopia (Blue-blind)
#1E272A — rgb(30, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 80%, 17%);
text
color: hsl(104, 80%, 17%);
border
border: 2px solid hsl(104, 80%, 17%);
gradient light
background: linear-gradient(to right, hsl(104, 80%, 37%), hsl(104, 80%, 17%));
gradient dark
background: linear-gradient(to right, hsl(104, 80%, 17%), hsl(104, 80%, 0%))
hex
background-color: #1B4E09;
tailwind
bg-[hsl(104,80%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 80%, 17%, 0.4);
css variable
--color-primary: hsl(104, 80%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 80%, 17%)?
HEX: #1B4E09 | RGB: rgb(27, 78, 9) | CMYK: 65%, 0%, 88%, 69% | HSV: 104°, 88%, 31%. Copy any format from the conversion table above.
What colors go well with #1B4E09?
The complementary color is HSL(284, 80%, 17%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 80%, 17%) in CSS?
As HSL: color: hsl(104, 80%, 17%); — As HEX: color: #1B4E09; — As RGB: color: rgb(27, 78, 9); — Tailwind CSS: bg-[hsl(104,80%,17%)] — CSS variable: --color-primary: hsl(104, 80%, 17%);