HSL(149, 70%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(149,70%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(149, 70%, 20%) | color: hsl(149, 70%, 20%) | |
| HEX | #0F5732 | color: #0F5732 | |
| RGB | rgb(15, 87, 50) | color: rgb(15, 87, 50) | |
| CMYK | cmyk(83%, 0%, 43%, 66%) | — | |
| HSV | hsv(149, 83%, 34%) | — | |
| HWB | hwb(149 6% 66%) | color: hwb(149 6% 66%) | |
| OKLCH | oklch(0.4044 0.0922 155.11) | color: oklch(0.4044 0.0922 155.11) | |
| Lab | lab(32.14 -31.01 15.55) | color: lab(32.14 -31.01 15.55) | |
| LCH | lch(32.14 34.69 153.37) | color: lch(32.14 34.69 153.37) |
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)
#2E2F3B — rgb(46, 47, 59)
Deuteranopia (Green-blind)
#2A253D — rgb(42, 37, 61)
Tritanopia (Blue-blind)
#134244 — rgb(19, 66, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(149, 70%, 20%);
text
color: hsl(149, 70%, 20%);
border
border: 2px solid hsl(149, 70%, 20%);
gradient light
background: linear-gradient(to right, hsl(149, 70%, 40%), hsl(149, 70%, 20%));
gradient dark
background: linear-gradient(to right, hsl(149, 70%, 20%), hsl(149, 70%, 0%))
hex
background-color: #0F5732;
tailwind
bg-[hsl(149,70%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(149, 70%, 20%, 0.4);
css variable
--color-primary: hsl(149, 70%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(149, 70%, 20%)?
HEX: #0F5732 | RGB: rgb(15, 87, 50) | CMYK: 83%, 0%, 43%, 66% | HSV: 149°, 83%, 34%. Copy any format from the conversion table above.
What colors go well with #0F5732?
The complementary color is HSL(329, 70%, 20%). 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, 70%, 20%) in CSS?
As HSL: color: hsl(149, 70%, 20%); — As HEX: color: #0F5732; — As RGB: color: rgb(15, 87, 50); — Tailwind CSS: bg-[hsl(149,70%,20%)] — CSS variable: --color-primary: hsl(149, 70%, 20%);