HSL(127, 67%, 37%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,67%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 67%, 37%) | color: hsl(127, 67%, 37%) | |
| HEX | #1F9E2E | color: #1F9E2E | |
| RGB | rgb(31, 158, 46) | color: rgb(31, 158, 46) | |
| CMYK | cmyk(80%, 0%, 71%, 38%) | — | |
| HSV | hsv(127, 80%, 62%) | — | |
| HWB | hwb(127 12% 38%) | color: hwb(127 12% 38%) | |
| OKLCH | oklch(0.6113 0.1839 144.26) | color: oklch(0.6113 0.1839 144.26) | |
| Lab | lab(57.02 -55.25 46.94) | color: lab(57.02 -55.25 46.94) | |
| LCH | lch(57.02 72.5 139.65) | color: lch(57.02 72.5 139.65) |
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)
#565749 — rgb(86, 87, 73)
Deuteranopia (Green-blind)
#4F4550 — rgb(79, 69, 80)
Tritanopia (Blue-blind)
#255E63 — rgb(37, 94, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 67%, 37%);
text
color: hsl(127, 67%, 37%);
border
border: 2px solid hsl(127, 67%, 37%);
gradient light
background: linear-gradient(to right, hsl(127, 67%, 57%), hsl(127, 67%, 37%));
gradient dark
background: linear-gradient(to right, hsl(127, 67%, 37%), hsl(127, 67%, 17%))
hex
background-color: #1F9E2E;
tailwind
bg-[hsl(127,67%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 67%, 37%, 0.4);
css variable
--color-primary: hsl(127, 67%, 37%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 67%, 37%)?
HEX: #1F9E2E | RGB: rgb(31, 158, 46) | CMYK: 80%, 0%, 71%, 38% | HSV: 127°, 80%, 62%. Copy any format from the conversion table above.
What colors go well with #1F9E2E?
The complementary color is HSL(307, 67%, 37%). 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, 67%, 37%) in CSS?
As HSL: color: hsl(127, 67%, 37%); — As HEX: color: #1F9E2E; — As RGB: color: rgb(31, 158, 46); — Tailwind CSS: bg-[hsl(127,67%,37%)] — CSS variable: --color-primary: hsl(127, 67%, 37%);