HSL(105, 80%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(105,80%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(105, 80%, 28%) | color: hsl(105, 80%, 28%) | |
| HEX | #2B810E | color: #2B810E | |
| RGB | rgb(43, 129, 14) | color: rgb(43, 129, 14) | |
| CMYK | cmyk(67%, 0%, 89%, 49%) | — | |
| HSV | hsv(105, 89%, 51%) | — | |
| HWB | hwb(105 6% 49%) | color: hwb(105 6% 49%) | |
| OKLCH | oklch(0.5307 0.1637 139.87) | color: oklch(0.5307 0.1637 139.87) | |
| Lab | lab(47.29 -45.55 48.19) | color: lab(47.29 -45.55 48.19) | |
| LCH | lch(47.29 66.31 133.39) | color: lch(47.29 66.31 133.39) |
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)
#50512A — rgb(80, 81, 42)
Deuteranopia (Green-blind)
#4B4531 — rgb(75, 69, 49)
Tritanopia (Blue-blind)
#2F4045 — rgb(47, 64, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(105, 80%, 28%);
text
color: hsl(105, 80%, 28%);
border
border: 2px solid hsl(105, 80%, 28%);
gradient light
background: linear-gradient(to right, hsl(105, 80%, 48%), hsl(105, 80%, 28%));
gradient dark
background: linear-gradient(to right, hsl(105, 80%, 28%), hsl(105, 80%, 8%))
hex
background-color: #2B810E;
tailwind
bg-[hsl(105,80%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(105, 80%, 28%, 0.4);
css variable
--color-primary: hsl(105, 80%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(105, 80%, 28%)?
HEX: #2B810E | RGB: rgb(43, 129, 14) | CMYK: 67%, 0%, 89%, 49% | HSV: 105°, 89%, 51%. Copy any format from the conversion table above.
What colors go well with #2B810E?
The complementary color is HSL(285, 80%, 28%). For a triadic harmony, use hues 105°, 225°, and 345°. For analogous combinations, try hues 75° and 135°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(105, 80%, 28%) in CSS?
As HSL: color: hsl(105, 80%, 28%); — As HEX: color: #2B810E; — As RGB: color: rgb(43, 129, 14); — Tailwind CSS: bg-[hsl(105,80%,28%)] — CSS variable: --color-primary: hsl(105, 80%, 28%);