HSL(140, 50%, 54%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,50%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 50%, 54%) | color: hsl(140, 50%, 54%) | |
| HEX | #4FC476 | color: #4FC476 | |
| RGB | rgb(79, 196, 118) | color: rgb(79, 196, 118) | |
| CMYK | cmyk(60%, 0%, 40%, 23%) | — | |
| HSV | hsv(140, 60%, 77%) | — | |
| HWB | hwb(140 31% 23%) | color: hwb(140 31% 23%) | |
| OKLCH | oklch(0.7343 0.1545 151.59) | color: oklch(0.7343 0.1545 151.59) | |
| Lab | lab(71.18 -50.23 29.58) | color: lab(71.18 -50.23 29.58) | |
| LCH | lch(71.18 58.29 149.51) | color: lch(71.18 58.29 149.51) |
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)
#828389 — rgb(130, 131, 137)
Deuteranopia (Green-blind)
#7B728D — rgb(123, 114, 141)
Tritanopia (Blue-blind)
#55989B — rgb(85, 152, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 50%, 54%);
text
color: hsl(140, 50%, 54%);
border
border: 2px solid hsl(140, 50%, 54%);
gradient light
background: linear-gradient(to right, hsl(140, 50%, 74%), hsl(140, 50%, 54%));
gradient dark
background: linear-gradient(to right, hsl(140, 50%, 54%), hsl(140, 50%, 34%))
hex
background-color: #4FC476;
tailwind
bg-[hsl(140,50%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 50%, 54%, 0.4);
css variable
--color-primary: hsl(140, 50%, 54%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 50%, 54%)?
HEX: #4FC476 | RGB: rgb(79, 196, 118) | CMYK: 60%, 0%, 40%, 23% | HSV: 140°, 60%, 77%. Copy any format from the conversion table above.
What colors go well with #4FC476?
The complementary color is HSL(320, 50%, 54%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 50%, 54%) in CSS?
As HSL: color: hsl(140, 50%, 54%); — As HEX: color: #4FC476; — As RGB: color: rgb(79, 196, 118); — Tailwind CSS: bg-[hsl(140,50%,54%)] — CSS variable: --color-primary: hsl(140, 50%, 54%);