HSL(106, 72%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(106,72%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 72%, 15%) | color: hsl(106, 72%, 15%) | |
| HEX | #18420B | color: #18420B | |
| RGB | rgb(24, 66, 11) | color: rgb(24, 66, 11) | |
| CMYK | cmyk(64%, 0%, 83%, 74%) | — | |
| HSV | hsv(106, 83%, 26%) | — | |
| HWB | hwb(106 4% 74%) | color: hwb(106 4% 74%) | |
| OKLCH | oklch(0.3365 0.0949 139.47) | color: oklch(0.3365 0.0949 139.47) | |
| Lab | lab(24.05 -26.23 27.37) | color: lab(24.05 -26.23 27.37) | |
| LCH | lch(24.05 37.91 133.78) | color: lch(24.05 37.91 133.78) |
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)
#2A2B18 — rgb(42, 43, 24)
Deuteranopia (Green-blind)
#28251C — rgb(40, 37, 28)
Tritanopia (Blue-blind)
#1A2325 — rgb(26, 35, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 72%, 15%);
text
color: hsl(106, 72%, 15%);
border
border: 2px solid hsl(106, 72%, 15%);
gradient light
background: linear-gradient(to right, hsl(106, 72%, 35%), hsl(106, 72%, 15%));
gradient dark
background: linear-gradient(to right, hsl(106, 72%, 15%), hsl(106, 72%, 0%))
hex
background-color: #18420B;
tailwind
bg-[hsl(106,72%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 72%, 15%, 0.4);
css variable
--color-primary: hsl(106, 72%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(106, 72%, 15%)?
HEX: #18420B | RGB: rgb(24, 66, 11) | CMYK: 64%, 0%, 83%, 74% | HSV: 106°, 83%, 26%. Copy any format from the conversion table above.
What colors go well with #18420B?
The complementary color is HSL(286, 72%, 15%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 72%, 15%) in CSS?
As HSL: color: hsl(106, 72%, 15%); — As HEX: color: #18420B; — As RGB: color: rgb(24, 66, 11); — Tailwind CSS: bg-[hsl(106,72%,15%)] — CSS variable: --color-primary: hsl(106, 72%, 15%);