HSL(127, 58%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,58%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 58%, 26%) | color: hsl(127, 58%, 26%) | |
| HEX | #1C6925 | color: #1C6925 | |
| RGB | rgb(28, 105, 37) | color: rgb(28, 105, 37) | |
| CMYK | cmyk(73%, 0%, 65%, 59%) | — | |
| HSV | hsv(127, 73%, 41%) | — | |
| HWB | hwb(127 11% 59%) | color: hwb(127 11% 59%) | |
| OKLCH | oklch(0.4588 0.1262 144.91) | color: oklch(0.4588 0.1262 144.91) | |
| Lab | lab(38.7 -38.19 30.93) | color: lab(38.7 -38.19 30.93) | |
| LCH | lch(38.7 49.14 141) | color: lch(38.7 49.14 141) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#3D3E35 — rgb(61, 62, 53)
Deuteranopia (Green-blind)
#393339 — rgb(57, 51, 57)
Tritanopia (Blue-blind)
#204245 — rgb(32, 66, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 58%, 26%);
text
color: hsl(127, 58%, 26%);
border
border: 2px solid hsl(127, 58%, 26%);
gradient light
background: linear-gradient(to right, hsl(127, 58%, 46%), hsl(127, 58%, 26%));
gradient dark
background: linear-gradient(to right, hsl(127, 58%, 26%), hsl(127, 58%, 6%))
hex
background-color: #1C6925;
tailwind
bg-[hsl(127,58%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 58%, 26%, 0.4);
css variable
--color-primary: hsl(127, 58%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 58%, 26%)?
HEX: #1C6925 | RGB: rgb(28, 105, 37) | CMYK: 73%, 0%, 65%, 59% | HSV: 127°, 73%, 41%. Copy any format from the conversion table above.
What colors go well with #1C6925?
The complementary color is HSL(307, 58%, 26%). 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, 58%, 26%) in CSS?
As HSL: color: hsl(127, 58%, 26%); — As HEX: color: #1C6925; — As RGB: color: rgb(28, 105, 37); — Tailwind CSS: bg-[hsl(127,58%,26%)] — CSS variable: --color-primary: hsl(127, 58%, 26%);