HSL(149, 40%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(149,40%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(149, 40%, 15%) | color: hsl(149, 40%, 15%) | |
| HEX | #173626 | color: #173626 | |
| RGB | rgb(23, 54, 38) | color: rgb(23, 54, 38) | |
| CMYK | cmyk(57%, 0%, 30%, 79%) | — | |
| HSV | hsv(149, 57%, 21%) | — | |
| HWB | hwb(149 9% 79%) | color: hwb(149 9% 79%) | |
| OKLCH | oklch(0.3037 0.0475 159.2) | color: oklch(0.3037 0.0475 159.2) | |
| Lab | lab(19.88 -16.13 6.6) | color: lab(19.88 -16.13 6.6) | |
| LCH | lch(19.88 17.43 157.75) | color: lch(19.88 17.43 157.75) |
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)
#24252A — rgb(36, 37, 42)
Deuteranopia (Green-blind)
#23202B — rgb(35, 32, 43)
Tritanopia (Blue-blind)
#192D2E — rgb(25, 45, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(149, 40%, 15%);
text
color: hsl(149, 40%, 15%);
border
border: 2px solid hsl(149, 40%, 15%);
gradient light
background: linear-gradient(to right, hsl(149, 40%, 35%), hsl(149, 40%, 15%));
gradient dark
background: linear-gradient(to right, hsl(149, 40%, 15%), hsl(149, 40%, 0%))
hex
background-color: #173626;
tailwind
bg-[hsl(149,40%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(149, 40%, 15%, 0.4);
css variable
--color-primary: hsl(149, 40%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(149, 40%, 15%)?
HEX: #173626 | RGB: rgb(23, 54, 38) | CMYK: 57%, 0%, 30%, 79% | HSV: 149°, 57%, 21%. Copy any format from the conversion table above.
What colors go well with #173626?
The complementary color is HSL(329, 40%, 15%). For a triadic harmony, use hues 149°, 269°, and 29°. For analogous combinations, try hues 119° and 179°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(149, 40%, 15%) in CSS?
As HSL: color: hsl(149, 40%, 15%); — As HEX: color: #173626; — As RGB: color: rgb(23, 54, 38); — Tailwind CSS: bg-[hsl(149,40%,15%)] — CSS variable: --color-primary: hsl(149, 40%, 15%);