HSL(127, 78%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,78%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 78%, 52%) | color: hsl(127, 78%, 52%) | |
| HEX | #25E43B | color: #25E43B | |
| RGB | rgb(37, 228, 59) | color: rgb(37, 228, 59) | |
| CMYK | cmyk(84%, 0%, 74%, 11%) | — | |
| HSV | hsv(127, 84%, 89%) | — | |
| HWB | hwb(127 14% 11%) | color: hwb(127 14% 11%) | |
| OKLCH | oklch(0.8007 0.2505 143.87) | color: oklch(0.8007 0.2505 143.87) | |
| Lab | lab(79.72 -74.86 65.46) | color: lab(79.72 -74.86 65.46) | |
| LCH | lch(79.72 99.44 138.83) | color: lch(79.72 99.44 138.83) |
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)
#787964 — rgb(120, 121, 100)
Deuteranopia (Green-blind)
#6D5E6E — rgb(109, 94, 110)
Tritanopia (Blue-blind)
#2F848B — rgb(47, 132, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 78%, 52%);
text
color: hsl(127, 78%, 52%);
border
border: 2px solid hsl(127, 78%, 52%);
gradient light
background: linear-gradient(to right, hsl(127, 78%, 72%), hsl(127, 78%, 52%));
gradient dark
background: linear-gradient(to right, hsl(127, 78%, 52%), hsl(127, 78%, 32%))
hex
background-color: #25E43B;
tailwind
bg-[hsl(127,78%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 78%, 52%, 0.4);
css variable
--color-primary: hsl(127, 78%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 78%, 52%)?
HEX: #25E43B | RGB: rgb(37, 228, 59) | CMYK: 84%, 0%, 74%, 11% | HSV: 127°, 84%, 89%. Copy any format from the conversion table above.
What colors go well with #25E43B?
The complementary color is HSL(307, 78%, 52%). 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, 78%, 52%) in CSS?
As HSL: color: hsl(127, 78%, 52%); — As HEX: color: #25E43B; — As RGB: color: rgb(37, 228, 59); — Tailwind CSS: bg-[hsl(127,78%,52%)] — CSS variable: --color-primary: hsl(127, 78%, 52%);