HSL(113, 18%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(113,18%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(113, 18%, 19%) | color: hsl(113, 18%, 19%) | |
| HEX | #2A3928 | color: #2A3928 | |
| RGB | rgb(42, 57, 40) | color: rgb(42, 57, 40) | |
| CMYK | cmyk(26%, 0%, 30%, 78%) | — | |
| HSV | hsv(113, 30%, 22%) | — | |
| HWB | hwb(113 15% 78%) | color: hwb(113 15% 78%) | |
| OKLCH | oklch(0.3257 0.0355 141.71) | color: oklch(0.3257 0.0355 141.71) | |
| Lab | lab(22.2 -10.22 8.65) | color: lab(22.2 -10.22 8.65) | |
| LCH | lch(22.2 13.39 139.76) | color: lch(22.2 13.39 139.76) |
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)
#30312C — rgb(48, 49, 44)
Deuteranopia (Green-blind)
#302F2D — rgb(48, 47, 45)
Tritanopia (Blue-blind)
#2B2F30 — rgb(43, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(113, 18%, 19%);
text
color: hsl(113, 18%, 19%);
border
border: 2px solid hsl(113, 18%, 19%);
gradient light
background: linear-gradient(to right, hsl(113, 18%, 39%), hsl(113, 18%, 19%));
gradient dark
background: linear-gradient(to right, hsl(113, 18%, 19%), hsl(113, 18%, 0%))
hex
background-color: #2A3928;
tailwind
bg-[hsl(113,18%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(113, 18%, 19%, 0.4);
css variable
--color-primary: hsl(113, 18%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(113, 18%, 19%)?
HEX: #2A3928 | RGB: rgb(42, 57, 40) | CMYK: 26%, 0%, 30%, 78% | HSV: 113°, 30%, 22%. Copy any format from the conversion table above.
What colors go well with #2A3928?
The complementary color is HSL(293, 18%, 19%). For a triadic harmony, use hues 113°, 233°, and 353°. For analogous combinations, try hues 83° and 143°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(113, 18%, 19%) in CSS?
As HSL: color: hsl(113, 18%, 19%); — As HEX: color: #2A3928; — As RGB: color: rgb(42, 57, 40); — Tailwind CSS: bg-[hsl(113,18%,19%)] — CSS variable: --color-primary: hsl(113, 18%, 19%);