HSL(128, 70%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 70%, 17%) | color: hsl(128, 70%, 17%) | |
| HEX | #0D4A15 | color: #0D4A15 | |
| RGB | rgb(13, 74, 21) | color: rgb(13, 74, 21) | |
| CMYK | cmyk(82%, 0%, 72%, 71%) | — | |
| HSV | hsv(128, 82%, 29%) | — | |
| HWB | hwb(128 5% 71%) | color: hwb(128 5% 71%) | |
| OKLCH | oklch(0.359 0.103 144.82) | color: oklch(0.359 0.103 144.82) | |
| Lab | lab(26.84 -31.16 25.53) | color: lab(26.84 -31.16 25.53) | |
| LCH | lch(26.84 40.28 140.67) | color: lch(26.84 40.28 140.67) |
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)
#272822 — rgb(39, 40, 34)
Deuteranopia (Green-blind)
#241F25 — rgb(36, 31, 37)
Tritanopia (Blue-blind)
#102C2E — rgb(16, 44, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 70%, 17%);
text
color: hsl(128, 70%, 17%);
border
border: 2px solid hsl(128, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(128, 70%, 37%), hsl(128, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(128, 70%, 17%), hsl(128, 70%, 0%))
hex
background-color: #0D4A15;
tailwind
bg-[hsl(128,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 70%, 17%, 0.4);
css variable
--color-primary: hsl(128, 70%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 70%, 17%)?
HEX: #0D4A15 | RGB: rgb(13, 74, 21) | CMYK: 82%, 0%, 72%, 71% | HSV: 128°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #0D4A15?
The complementary color is HSL(308, 70%, 17%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 70%, 17%) in CSS?
As HSL: color: hsl(128, 70%, 17%); — As HEX: color: #0D4A15; — As RGB: color: rgb(13, 74, 21); — Tailwind CSS: bg-[hsl(128,70%,17%)] — CSS variable: --color-primary: hsl(128, 70%, 17%);