HSL(127, 40%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,40%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 40%, 46%) | color: hsl(127, 40%, 46%) | |
| HEX | #46A451 | color: #46A451 | |
| RGB | rgb(70, 164, 81) | color: rgb(70, 164, 81) | |
| CMYK | cmyk(57%, 0%, 51%, 36%) | — | |
| HSV | hsv(127, 57%, 64%) | — | |
| HWB | hwb(127 28% 36%) | color: hwb(127 28% 36%) | |
| OKLCH | oklch(0.6422 0.1492 145.79) | color: oklch(0.6422 0.1492 145.79) | |
| Lab | lab(60.29 -45.55 34.69) | color: lab(60.29 -45.55 34.69) | |
| LCH | lch(60.29 57.26 142.71) | color: lch(60.29 57.26 142.71) |
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)
#6F7065 — rgb(111, 112, 101)
Deuteranopia (Green-blind)
#69626A — rgb(105, 98, 106)
Tritanopia (Blue-blind)
#4B7578 — rgb(75, 117, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 40%, 46%);
text
color: hsl(127, 40%, 46%);
border
border: 2px solid hsl(127, 40%, 46%);
gradient light
background: linear-gradient(to right, hsl(127, 40%, 66%), hsl(127, 40%, 46%));
gradient dark
background: linear-gradient(to right, hsl(127, 40%, 46%), hsl(127, 40%, 26%))
hex
background-color: #46A451;
tailwind
bg-[hsl(127,40%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 40%, 46%, 0.4);
css variable
--color-primary: hsl(127, 40%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 40%, 46%)?
HEX: #46A451 | RGB: rgb(70, 164, 81) | CMYK: 57%, 0%, 51%, 36% | HSV: 127°, 57%, 64%. Copy any format from the conversion table above.
What colors go well with #46A451?
The complementary color is HSL(307, 40%, 46%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 40%, 46%) in CSS?
As HSL: color: hsl(127, 40%, 46%); — As HEX: color: #46A451; — As RGB: color: rgb(70, 164, 81); — Tailwind CSS: bg-[hsl(127,40%,46%)] — CSS variable: --color-primary: hsl(127, 40%, 46%);