HSL(104, 70%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 70%, 17%) | color: hsl(104, 70%, 17%) | |
| HEX | #1D4A0D | color: #1D4A0D | |
| RGB | rgb(29, 74, 13) | color: rgb(29, 74, 13) | |
| CMYK | cmyk(61%, 0%, 82%, 71%) | — | |
| HSV | hsv(104, 82%, 29%) | — | |
| HWB | hwb(104 5% 71%) | color: hwb(104 5% 71%) | |
| OKLCH | oklch(0.3637 0.1021 138.99) | color: oklch(0.3637 0.1021 138.99) | |
| Lab | lab(27.26 -27.97 29.81) | color: lab(27.26 -27.97 29.81) | |
| LCH | lch(27.26 40.88 133.18) | color: lch(27.26 40.88 133.18) |
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)
#30311C — rgb(48, 49, 28)
Deuteranopia (Green-blind)
#2E2B1F — rgb(46, 43, 31)
Tritanopia (Blue-blind)
#1F272A — rgb(31, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 70%, 17%);
text
color: hsl(104, 70%, 17%);
border
border: 2px solid hsl(104, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(104, 70%, 37%), hsl(104, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(104, 70%, 17%), hsl(104, 70%, 0%))
hex
background-color: #1D4A0D;
tailwind
bg-[hsl(104,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 70%, 17%, 0.4);
css variable
--color-primary: hsl(104, 70%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 70%, 17%)?
HEX: #1D4A0D | RGB: rgb(29, 74, 13) | CMYK: 61%, 0%, 82%, 71% | HSV: 104°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #1D4A0D?
The complementary color is HSL(284, 70%, 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, 70%, 17%) in CSS?
As HSL: color: hsl(104, 70%, 17%); — As HEX: color: #1D4A0D; — As RGB: color: rgb(29, 74, 13); — Tailwind CSS: bg-[hsl(104,70%,17%)] — CSS variable: --color-primary: hsl(104, 70%, 17%);