HSL(108, 21%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,21%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 21%, 19%) | color: hsl(108, 21%, 19%) | |
| HEX | #2A3B26 | color: #2A3B26 | |
| RGB | rgb(42, 59, 38) | color: rgb(42, 59, 38) | |
| CMYK | cmyk(29%, 0%, 36%, 77%) | — | |
| HSV | hsv(109, 36%, 23%) | — | |
| HWB | hwb(109 15% 77%) | color: hwb(109 15% 77%) | |
| OKLCH | oklch(0.3308 0.0423 139.71) | color: oklch(0.3308 0.0423 139.71) | |
| Lab | lab(22.86 -11.83 10.86) | color: lab(22.86 -11.83 10.86) | |
| LCH | lch(22.86 16.06 137.45) | color: lch(22.86 16.06 137.45) |
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)
#31322B — rgb(49, 50, 43)
Deuteranopia (Green-blind)
#302F2C — rgb(48, 47, 44)
Tritanopia (Blue-blind)
#2B2F30 — rgb(43, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 21%, 19%);
text
color: hsl(108, 21%, 19%);
border
border: 2px solid hsl(108, 21%, 19%);
gradient light
background: linear-gradient(to right, hsl(108, 21%, 39%), hsl(108, 21%, 19%));
gradient dark
background: linear-gradient(to right, hsl(108, 21%, 19%), hsl(108, 21%, 0%))
hex
background-color: #2A3B26;
tailwind
bg-[hsl(108,21%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 21%, 19%, 0.4);
css variable
--color-primary: hsl(108, 21%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 21%, 19%)?
HEX: #2A3B26 | RGB: rgb(42, 59, 38) | CMYK: 29%, 0%, 36%, 77% | HSV: 109°, 36%, 23%. Copy any format from the conversion table above.
What colors go well with #2A3B26?
The complementary color is HSL(288, 21%, 19%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 21%, 19%) in CSS?
As HSL: color: hsl(108, 21%, 19%); — As HEX: color: #2A3B26; — As RGB: color: rgb(42, 59, 38); — Tailwind CSS: bg-[hsl(108,21%,19%)] — CSS variable: --color-primary: hsl(108, 21%, 19%);