HSL(127, 42%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,42%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 42%, 60%) | color: hsl(127, 42%, 60%) | |
| HEX | #6EC478 | color: #6EC478 | |
| RGB | rgb(110, 196, 120) | color: rgb(110, 196, 120) | |
| CMYK | cmyk(44%, 0%, 39%, 23%) | — | |
| HSV | hsv(127, 44%, 77%) | — | |
| HWB | hwb(127 43% 23%) | color: hwb(127 43% 23%) | |
| OKLCH | oklch(0.7469 0.1367 146.64) | color: oklch(0.7469 0.1367 146.64) | |
| Lab | lab(72.33 -41.97 30.26) | color: lab(72.33 -41.97 30.26) | |
| LCH | lch(72.33 51.74 144.21) | color: lch(72.33 51.74 144.21) |
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)
#93948A — rgb(147, 148, 138)
Deuteranopia (Green-blind)
#8E888F — rgb(142, 136, 143)
Tritanopia (Blue-blind)
#72999C — rgb(114, 153, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 42%, 60%);
text
color: hsl(127, 42%, 60%);
border
border: 2px solid hsl(127, 42%, 60%);
gradient light
background: linear-gradient(to right, hsl(127, 42%, 80%), hsl(127, 42%, 60%));
gradient dark
background: linear-gradient(to right, hsl(127, 42%, 60%), hsl(127, 42%, 40%))
hex
background-color: #6EC478;
tailwind
bg-[hsl(127,42%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 42%, 60%, 0.4);
css variable
--color-primary: hsl(127, 42%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 42%, 60%)?
HEX: #6EC478 | RGB: rgb(110, 196, 120) | CMYK: 44%, 0%, 39%, 23% | HSV: 127°, 44%, 77%. Copy any format from the conversion table above.
What colors go well with #6EC478?
The complementary color is HSL(307, 42%, 60%). 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, 42%, 60%) in CSS?
As HSL: color: hsl(127, 42%, 60%); — As HEX: color: #6EC478; — As RGB: color: rgb(110, 196, 120); — Tailwind CSS: bg-[hsl(127,42%,60%)] — CSS variable: --color-primary: hsl(127, 42%, 60%);