HSL(127, 54%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,54%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 54%, 19%) | color: hsl(127, 54%, 19%) | |
| HEX | #164B1C | color: #164B1C | |
| RGB | rgb(22, 75, 28) | color: rgb(22, 75, 28) | |
| CMYK | cmyk(71%, 0%, 63%, 71%) | — | |
| HSV | hsv(127, 71%, 29%) | — | |
| HWB | hwb(127 8% 71%) | color: hwb(127 8% 71%) | |
| OKLCH | oklch(0.3657 0.0944 145.21) | color: oklch(0.3657 0.0944 145.21) | |
| Lab | lab(27.54 -28.65 22.67) | color: lab(27.54 -28.65 22.67) | |
| LCH | lch(27.54 36.53 141.65) | color: lch(27.54 36.53 141.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#2D2D27 — rgb(45, 45, 39)
Deuteranopia (Green-blind)
#2A262A — rgb(42, 38, 42)
Tritanopia (Blue-blind)
#193032 — rgb(25, 48, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 54%, 19%);
text
color: hsl(127, 54%, 19%);
border
border: 2px solid hsl(127, 54%, 19%);
gradient light
background: linear-gradient(to right, hsl(127, 54%, 39%), hsl(127, 54%, 19%));
gradient dark
background: linear-gradient(to right, hsl(127, 54%, 19%), hsl(127, 54%, 0%))
hex
background-color: #164B1C;
tailwind
bg-[hsl(127,54%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 54%, 19%, 0.4);
css variable
--color-primary: hsl(127, 54%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 54%, 19%)?
HEX: #164B1C | RGB: rgb(22, 75, 28) | CMYK: 71%, 0%, 63%, 71% | HSV: 127°, 71%, 29%. Copy any format from the conversion table above.
What colors go well with #164B1C?
The complementary color is HSL(307, 54%, 19%). 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, 54%, 19%) in CSS?
As HSL: color: hsl(127, 54%, 19%); — As HEX: color: #164B1C; — As RGB: color: rgb(22, 75, 28); — Tailwind CSS: bg-[hsl(127,54%,19%)] — CSS variable: --color-primary: hsl(127, 54%, 19%);