HSL(121, 40%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(121,40%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(121, 40%, 45%) | color: hsl(121, 40%, 45%) | |
| HEX | #45A146 | color: #45A146 | |
| RGB | rgb(69, 161, 70) | color: rgb(69, 161, 70) | |
| CMYK | cmyk(57%, 0%, 57%, 37%) | — | |
| HSV | hsv(121, 57%, 63%) | — | |
| HWB | hwb(121 27% 37%) | color: hwb(121 27% 37%) | |
| OKLCH | oklch(0.6324 0.1556 143.64) | color: oklch(0.6324 0.1556 143.64) | |
| Lab | lab(59.16 -46.13 38.79) | color: lab(59.16 -46.13 38.79) | |
| LCH | lch(59.16 60.27 139.94) | color: lch(59.16 60.27 139.94) |
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)
#6D6E5C — rgb(109, 110, 92)
Deuteranopia (Green-blind)
#686161 — rgb(104, 97, 97)
Tritanopia (Blue-blind)
#4A6D71 — rgb(74, 109, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(121, 40%, 45%);
text
color: hsl(121, 40%, 45%);
border
border: 2px solid hsl(121, 40%, 45%);
gradient light
background: linear-gradient(to right, hsl(121, 40%, 65%), hsl(121, 40%, 45%));
gradient dark
background: linear-gradient(to right, hsl(121, 40%, 45%), hsl(121, 40%, 25%))
hex
background-color: #45A146;
tailwind
bg-[hsl(121,40%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(121, 40%, 45%, 0.4);
css variable
--color-primary: hsl(121, 40%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(121, 40%, 45%)?
HEX: #45A146 | RGB: rgb(69, 161, 70) | CMYK: 57%, 0%, 57%, 37% | HSV: 121°, 57%, 63%. Copy any format from the conversion table above.
What colors go well with #45A146?
The complementary color is HSL(301, 40%, 45%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(121, 40%, 45%) in CSS?
As HSL: color: hsl(121, 40%, 45%); — As HEX: color: #45A146; — As RGB: color: rgb(69, 161, 70); — Tailwind CSS: bg-[hsl(121,40%,45%)] — CSS variable: --color-primary: hsl(121, 40%, 45%);