HSL(148, 71%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(148,71%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 71%, 18%) | color: hsl(148, 71%, 18%) | |
| HEX | #0D4E2C | color: #0D4E2C | |
| RGB | rgb(13, 78, 44) | color: rgb(13, 78, 44) | |
| CMYK | cmyk(83%, 0%, 44%, 69%) | — | |
| HSV | hsv(149, 83%, 31%) | — | |
| HWB | hwb(149 5% 69%) | color: hwb(149 5% 69%) | |
| OKLCH | oklch(0.3754 0.0857 154.82) | color: oklch(0.3754 0.0857 154.82) | |
| Lab | lab(28.68 -28.75 14.63) | color: lab(28.68 -28.75 14.63) | |
| LCH | lch(28.68 32.26 153.03) | color: lch(28.68 32.26 153.03) |
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)
#292A34 — rgb(41, 42, 52)
Deuteranopia (Green-blind)
#252136 — rgb(37, 33, 54)
Tritanopia (Blue-blind)
#103B3C — rgb(16, 59, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 71%, 18%);
text
color: hsl(148, 71%, 18%);
border
border: 2px solid hsl(148, 71%, 18%);
gradient light
background: linear-gradient(to right, hsl(148, 71%, 38%), hsl(148, 71%, 18%));
gradient dark
background: linear-gradient(to right, hsl(148, 71%, 18%), hsl(148, 71%, 0%))
hex
background-color: #0D4E2C;
tailwind
bg-[hsl(148,71%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 71%, 18%, 0.4);
css variable
--color-primary: hsl(148, 71%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(148, 71%, 18%)?
HEX: #0D4E2C | RGB: rgb(13, 78, 44) | CMYK: 83%, 0%, 44%, 69% | HSV: 149°, 83%, 31%. Copy any format from the conversion table above.
What colors go well with #0D4E2C?
The complementary color is HSL(328, 71%, 18%). For a triadic harmony, use hues 148°, 268°, and 28°. For analogous combinations, try hues 118° and 178°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(148, 71%, 18%) in CSS?
As HSL: color: hsl(148, 71%, 18%); — As HEX: color: #0D4E2C; — As RGB: color: rgb(13, 78, 44); — Tailwind CSS: bg-[hsl(148,71%,18%)] — CSS variable: --color-primary: hsl(148, 71%, 18%);