HSL(112, 12%, 25%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(112,12%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 12%, 25%) | color: hsl(112, 12%, 25%) | |
| HEX | #3A4738 | color: #3A4738 | |
| RGB | rgb(58, 71, 56) | color: rgb(58, 71, 56) | |
| CMYK | cmyk(18%, 0%, 21%, 72%) | — | |
| HSV | hsv(112, 21%, 28%) | — | |
| HWB | hwb(112 22% 72%) | color: hwb(112 22% 72%) | |
| OKLCH | oklch(0.3815 0.0301 141.37) | color: oklch(0.3815 0.0301 141.37) | |
| Lab | lab(28.62 -8.65 7.32) | color: lab(28.62 -8.65 7.32) | |
| LCH | lch(28.62 11.33 139.76) | color: lch(28.62 11.33 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)
#40403C — rgb(64, 64, 60)
Deuteranopia (Green-blind)
#3F3E3D — rgb(63, 62, 61)
Tritanopia (Blue-blind)
#3B3E3F — rgb(59, 62, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 12%, 25%);
text
color: hsl(112, 12%, 25%);
border
border: 2px solid hsl(112, 12%, 25%);
gradient light
background: linear-gradient(to right, hsl(112, 12%, 45%), hsl(112, 12%, 25%));
gradient dark
background: linear-gradient(to right, hsl(112, 12%, 25%), hsl(112, 12%, 5%))
hex
background-color: #3A4738;
tailwind
bg-[hsl(112,12%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 12%, 25%, 0.4);
css variable
--color-primary: hsl(112, 12%, 25%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(112, 12%, 25%)?
HEX: #3A4738 | RGB: rgb(58, 71, 56) | CMYK: 18%, 0%, 21%, 72% | HSV: 112°, 21%, 28%. Copy any format from the conversion table above.
What colors go well with #3A4738?
The complementary color is HSL(292, 12%, 25%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 12%, 25%) in CSS?
As HSL: color: hsl(112, 12%, 25%); — As HEX: color: #3A4738; — As RGB: color: rgb(58, 71, 56); — Tailwind CSS: bg-[hsl(112,12%,25%)] — CSS variable: --color-primary: hsl(112, 12%, 25%);