HSL(124, 72%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(124,72%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(124, 72%, 32%) | color: hsl(124, 72%, 32%) | |
| HEX | #178C1F | color: #178C1F | |
| RGB | rgb(23, 140, 31) | color: rgb(23, 140, 31) | |
| CMYK | cmyk(84%, 0%, 78%, 45%) | — | |
| HSV | hsv(124, 84%, 55%) | — | |
| HWB | hwb(124 9% 45%) | color: hwb(124 9% 45%) | |
| OKLCH | oklch(0.5583 0.1745 143.44) | color: oklch(0.5583 0.1745 143.44) | |
| Lab | lab(50.73 -51.76 46.19) | color: lab(50.73 -51.76 46.19) | |
| LCH | lch(50.73 69.37 138.25) | color: lch(50.73 69.37 138.25) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#4A4B39 — rgb(74, 75, 57)
Deuteranopia (Green-blind)
#433A40 — rgb(67, 58, 64)
Tritanopia (Blue-blind)
#1D4E53 — rgb(29, 78, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(124, 72%, 32%);
text
color: hsl(124, 72%, 32%);
border
border: 2px solid hsl(124, 72%, 32%);
gradient light
background: linear-gradient(to right, hsl(124, 72%, 52%), hsl(124, 72%, 32%));
gradient dark
background: linear-gradient(to right, hsl(124, 72%, 32%), hsl(124, 72%, 12%))
hex
background-color: #178C1F;
tailwind
bg-[hsl(124,72%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(124, 72%, 32%, 0.4);
css variable
--color-primary: hsl(124, 72%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(124, 72%, 32%)?
HEX: #178C1F | RGB: rgb(23, 140, 31) | CMYK: 84%, 0%, 78%, 45% | HSV: 124°, 84%, 55%. Copy any format from the conversion table above.
What colors go well with #178C1F?
The complementary color is HSL(304, 72%, 32%). For a triadic harmony, use hues 124°, 244°, and 4°. For analogous combinations, try hues 94° and 154°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(124, 72%, 32%) in CSS?
As HSL: color: hsl(124, 72%, 32%); — As HEX: color: #178C1F; — As RGB: color: rgb(23, 140, 31); — Tailwind CSS: bg-[hsl(124,72%,32%)] — CSS variable: --color-primary: hsl(124, 72%, 32%);