HSL(128, 65%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,65%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 65%, 30%) | color: hsl(128, 65%, 30%) | |
| HEX | #1B7E28 | color: #1B7E28 | |
| RGB | rgb(27, 126, 40) | color: rgb(27, 126, 40) | |
| CMYK | cmyk(79%, 0%, 68%, 51%) | — | |
| HSV | hsv(128, 79%, 49%) | — | |
| HWB | hwb(128 10% 51%) | color: hwb(128 10% 51%) | |
| OKLCH | oklch(0.5199 0.1511 144.71) | color: oklch(0.5199 0.1511 144.71) | |
| Lab | lab(46.05 -45.68 37.71) | color: lab(46.05 -45.68 37.71) | |
| LCH | lch(46.05 59.23 140.46) | color: lch(46.05 59.23 140.46) |
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)
#46473D — rgb(70, 71, 61)
Deuteranopia (Green-blind)
#403942 — rgb(64, 57, 66)
Tritanopia (Blue-blind)
#204D51 — rgb(32, 77, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 65%, 30%);
text
color: hsl(128, 65%, 30%);
border
border: 2px solid hsl(128, 65%, 30%);
gradient light
background: linear-gradient(to right, hsl(128, 65%, 50%), hsl(128, 65%, 30%));
gradient dark
background: linear-gradient(to right, hsl(128, 65%, 30%), hsl(128, 65%, 10%))
hex
background-color: #1B7E28;
tailwind
bg-[hsl(128,65%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 65%, 30%, 0.4);
css variable
--color-primary: hsl(128, 65%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 65%, 30%)?
HEX: #1B7E28 | RGB: rgb(27, 126, 40) | CMYK: 79%, 0%, 68%, 51% | HSV: 128°, 79%, 49%. Copy any format from the conversion table above.
What colors go well with #1B7E28?
The complementary color is HSL(308, 65%, 30%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 65%, 30%) in CSS?
As HSL: color: hsl(128, 65%, 30%); — As HEX: color: #1B7E28; — As RGB: color: rgb(27, 126, 40); — Tailwind CSS: bg-[hsl(128,65%,30%)] — CSS variable: --color-primary: hsl(128, 65%, 30%);