HSL(130, 51%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(130,51%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(130, 51%, 51%) | color: hsl(130, 51%, 51%) | |
| HEX | #42C258 | color: #42C258 | |
| RGB | rgb(66, 194, 88) | color: rgb(66, 194, 88) | |
| CMYK | cmyk(66%, 0%, 55%, 24%) | — | |
| HSV | hsv(130, 66%, 76%) | — | |
| HWB | hwb(130 26% 24%) | color: hwb(130 26% 24%) | |
| OKLCH | oklch(0.7205 0.1845 146.32) | color: oklch(0.7205 0.1845 146.32) | |
| Lab | lab(69.78 -56.84 42.79) | color: lab(69.78 -56.84 42.79) | |
| LCH | lch(69.78 71.15 143.03) | color: lch(69.78 71.15 143.03) |
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)
#797B72 — rgb(121, 123, 114)
Deuteranopia (Green-blind)
#726878 — rgb(114, 104, 120)
Tritanopia (Blue-blind)
#48868A — rgb(72, 134, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(130, 51%, 51%);
text
color: hsl(130, 51%, 51%);
border
border: 2px solid hsl(130, 51%, 51%);
gradient light
background: linear-gradient(to right, hsl(130, 51%, 71%), hsl(130, 51%, 51%));
gradient dark
background: linear-gradient(to right, hsl(130, 51%, 51%), hsl(130, 51%, 31%))
hex
background-color: #42C258;
tailwind
bg-[hsl(130,51%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(130, 51%, 51%, 0.4);
css variable
--color-primary: hsl(130, 51%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(130, 51%, 51%)?
HEX: #42C258 | RGB: rgb(66, 194, 88) | CMYK: 66%, 0%, 55%, 24% | HSV: 130°, 66%, 76%. Copy any format from the conversion table above.
What colors go well with #42C258?
The complementary color is HSL(310, 51%, 51%). For a triadic harmony, use hues 130°, 250°, and 10°. For analogous combinations, try hues 100° and 160°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(130, 51%, 51%) in CSS?
As HSL: color: hsl(130, 51%, 51%); — As HEX: color: #42C258; — As RGB: color: rgb(66, 194, 88); — Tailwind CSS: bg-[hsl(130,51%,51%)] — CSS variable: --color-primary: hsl(130, 51%, 51%);