HSL(127, 48%, 54%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,48%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 48%, 54%) | color: hsl(127, 48%, 54%) | |
| HEX | #51C25F | color: #51C25F | |
| RGB | rgb(81, 194, 95) | color: rgb(81, 194, 95) | |
| CMYK | cmyk(58%, 0%, 51%, 24%) | — | |
| HSV | hsv(127, 58%, 76%) | — | |
| HWB | hwb(127 32% 24%) | color: hwb(127 32% 24%) | |
| OKLCH | oklch(0.7261 0.1723 145.83) | color: oklch(0.7261 0.1723 145.83) | |
| Lab | lab(70.29 -52.64 40.1) | color: lab(70.29 -52.64 40.1) | |
| LCH | lch(70.29 66.17 142.7) | color: lch(70.29 66.17 142.7) |
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)
#828377 — rgb(130, 131, 119)
Deuteranopia (Green-blind)
#7B737D — rgb(123, 115, 125)
Tritanopia (Blue-blind)
#578A8E — rgb(87, 138, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 48%, 54%);
text
color: hsl(127, 48%, 54%);
border
border: 2px solid hsl(127, 48%, 54%);
gradient light
background: linear-gradient(to right, hsl(127, 48%, 74%), hsl(127, 48%, 54%));
gradient dark
background: linear-gradient(to right, hsl(127, 48%, 54%), hsl(127, 48%, 34%))
hex
background-color: #51C25F;
tailwind
bg-[hsl(127,48%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 48%, 54%, 0.4);
css variable
--color-primary: hsl(127, 48%, 54%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 48%, 54%)?
HEX: #51C25F | RGB: rgb(81, 194, 95) | CMYK: 58%, 0%, 51%, 24% | HSV: 127°, 58%, 76%. Copy any format from the conversion table above.
What colors go well with #51C25F?
The complementary color is HSL(307, 48%, 54%). 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, 48%, 54%) in CSS?
As HSL: color: hsl(127, 48%, 54%); — As HEX: color: #51C25F; — As RGB: color: rgb(81, 194, 95); — Tailwind CSS: bg-[hsl(127,48%,54%)] — CSS variable: --color-primary: hsl(127, 48%, 54%);