HSL(125, 80%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(125,80%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 80%, 40%) | color: hsl(125, 80%, 40%) | |
| HEX | #14B822 | color: #14B822 | |
| RGB | rgb(20, 184, 34) | color: rgb(20, 184, 34) | |
| CMYK | cmyk(89%, 0%, 82%, 28%) | — | |
| HSV | hsv(125, 89%, 72%) | — | |
| HWB | hwb(125 8% 28%) | color: hwb(125 8% 28%) | |
| OKLCH | oklch(0.6804 0.2202 143.29) | color: oklch(0.6804 0.2202 143.29) | |
| Lab | lab(65.39 -65.21 59.28) | color: lab(65.39 -65.21 59.28) | |
| LCH | lch(65.39 88.13 137.73) | color: lch(65.39 88.13 137.73) |
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)
#5B5C46 — rgb(91, 92, 70)
Deuteranopia (Green-blind)
#52454F — rgb(82, 69, 79)
Tritanopia (Blue-blind)
#1C6369 — rgb(28, 99, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 80%, 40%);
text
color: hsl(125, 80%, 40%);
border
border: 2px solid hsl(125, 80%, 40%);
gradient light
background: linear-gradient(to right, hsl(125, 80%, 60%), hsl(125, 80%, 40%));
gradient dark
background: linear-gradient(to right, hsl(125, 80%, 40%), hsl(125, 80%, 20%))
hex
background-color: #14B822;
tailwind
bg-[hsl(125,80%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 80%, 40%, 0.4);
css variable
--color-primary: hsl(125, 80%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(125, 80%, 40%)?
HEX: #14B822 | RGB: rgb(20, 184, 34) | CMYK: 89%, 0%, 82%, 28% | HSV: 125°, 89%, 72%. Copy any format from the conversion table above.
What colors go well with #14B822?
The complementary color is HSL(305, 80%, 40%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(125, 80%, 40%) in CSS?
As HSL: color: hsl(125, 80%, 40%); — As HEX: color: #14B822; — As RGB: color: rgb(20, 184, 34); — Tailwind CSS: bg-[hsl(125,80%,40%)] — CSS variable: --color-primary: hsl(125, 80%, 40%);