HSL(126, 59%, 57%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,59%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 59%, 57%) | color: hsl(126, 59%, 57%) | |
| HEX | #51D25E | color: #51D25E | |
| RGB | rgb(81, 210, 94) | color: rgb(81, 210, 94) | |
| CMYK | cmyk(61%, 0%, 55%, 18%) | — | |
| HSV | hsv(126, 61%, 82%) | — | |
| HWB | hwb(126 32% 18%) | color: hwb(126 32% 18%) | |
| OKLCH | oklch(0.7668 0.1939 145.1) | color: oklch(0.7668 0.1939 145.1) | |
| Lab | lab(75.23 -58.74 46.57) | color: lab(75.23 -58.74 46.57) | |
| LCH | lch(75.23 74.96 141.59) | color: lch(75.23 74.96 141.59) |
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)
#898A7A — rgb(137, 138, 122)
Deuteranopia (Green-blind)
#817881 — rgb(129, 120, 129)
Tritanopia (Blue-blind)
#579095 — rgb(87, 144, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 59%, 57%);
text
color: hsl(126, 59%, 57%);
border
border: 2px solid hsl(126, 59%, 57%);
gradient light
background: linear-gradient(to right, hsl(126, 59%, 77%), hsl(126, 59%, 57%));
gradient dark
background: linear-gradient(to right, hsl(126, 59%, 57%), hsl(126, 59%, 37%))
hex
background-color: #51D25E;
tailwind
bg-[hsl(126,59%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 59%, 57%, 0.4);
css variable
--color-primary: hsl(126, 59%, 57%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 59%, 57%)?
HEX: #51D25E | RGB: rgb(81, 210, 94) | CMYK: 61%, 0%, 55%, 18% | HSV: 126°, 61%, 82%. Copy any format from the conversion table above.
What colors go well with #51D25E?
The complementary color is HSL(306, 59%, 57%). 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, 59%, 57%) in CSS?
As HSL: color: hsl(126, 59%, 57%); — As HEX: color: #51D25E; — As RGB: color: rgb(81, 210, 94); — Tailwind CSS: bg-[hsl(126,59%,57%)] — CSS variable: --color-primary: hsl(126, 59%, 57%);