HSL(126, 41%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,41%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 41%, 51%) | color: hsl(126, 41%, 51%) | |
| HEX | #4FB559 | color: #4FB559 | |
| RGB | rgb(79, 181, 89) | color: rgb(79, 181, 89) | |
| CMYK | cmyk(56%, 0%, 51%, 29%) | — | |
| HSV | hsv(126, 56%, 71%) | — | |
| HWB | hwb(126 31% 29%) | color: hwb(126 31% 29%) | |
| OKLCH | oklch(0.691 0.1611 145.41) | color: oklch(0.691 0.1611 145.41) | |
| Lab | lab(66.08 -48.91 37.88) | color: lab(66.08 -48.91 37.88) | |
| LCH | lch(66.08 61.86 142.24) | color: lch(66.08 61.86 142.24) |
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)
#7B7C6F — rgb(123, 124, 111)
Deuteranopia (Green-blind)
#756E75 — rgb(117, 110, 117)
Tritanopia (Blue-blind)
#548185 — rgb(84, 129, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 41%, 51%);
text
color: hsl(126, 41%, 51%);
border
border: 2px solid hsl(126, 41%, 51%);
gradient light
background: linear-gradient(to right, hsl(126, 41%, 71%), hsl(126, 41%, 51%));
gradient dark
background: linear-gradient(to right, hsl(126, 41%, 51%), hsl(126, 41%, 31%))
hex
background-color: #4FB559;
tailwind
bg-[hsl(126,41%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 41%, 51%, 0.4);
css variable
--color-primary: hsl(126, 41%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 41%, 51%)?
HEX: #4FB559 | RGB: rgb(79, 181, 89) | CMYK: 56%, 0%, 51%, 29% | HSV: 126°, 56%, 71%. Copy any format from the conversion table above.
What colors go well with #4FB559?
The complementary color is HSL(306, 41%, 51%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 41%, 51%) in CSS?
As HSL: color: hsl(126, 41%, 51%); — As HEX: color: #4FB559; — As RGB: color: rgb(79, 181, 89); — Tailwind CSS: bg-[hsl(126,41%,51%)] — CSS variable: --color-primary: hsl(126, 41%, 51%);