HSL(87, 12%, 20%)
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(87,12%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 12%, 20%) | color: hsl(87, 12%, 20%) | |
| HEX | #34392D | color: #34392D | |
| RGB | rgb(52, 57, 45) | color: rgb(52, 57, 45) | |
| CMYK | cmyk(9%, 0%, 21%, 78%) | — | |
| HSV | hsv(85, 21%, 22%) | — | |
| HWB | hwb(85 17% 78%) | color: hwb(85 17% 78%) | |
| OKLCH | oklch(0.3358 0.0215 125.96) | color: oklch(0.3358 0.0215 125.96) | |
| Lab | lab(23.15 -4.79 6.78) | color: lab(23.15 -4.79 6.78) | |
| LCH | lch(23.15 8.3 125.24) | color: lch(23.15 8.3 125.24) |
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)
#363630 — rgb(54, 54, 48)
Deuteranopia (Green-blind)
#363631 — rgb(54, 54, 49)
Tritanopia (Blue-blind)
#343233 — rgb(52, 50, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 12%, 20%);
text
color: hsl(87, 12%, 20%);
border
border: 2px solid hsl(87, 12%, 20%);
gradient light
background: linear-gradient(to right, hsl(87, 12%, 40%), hsl(87, 12%, 20%));
gradient dark
background: linear-gradient(to right, hsl(87, 12%, 20%), hsl(87, 12%, 0%))
hex
background-color: #34392D;
tailwind
bg-[hsl(87,12%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 12%, 20%, 0.4);
css variable
--color-primary: hsl(87, 12%, 20%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(87, 12%, 20%)?
HEX: #34392D | RGB: rgb(52, 57, 45) | CMYK: 9%, 0%, 21%, 78% | HSV: 85°, 21%, 22%. Copy any format from the conversion table above.
What colors go well with #34392D?
The complementary color is HSL(267, 12%, 20%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 12%, 20%) in CSS?
As HSL: color: hsl(87, 12%, 20%); — As HEX: color: #34392D; — As RGB: color: rgb(52, 57, 45); — Tailwind CSS: bg-[hsl(87,12%,20%)] — CSS variable: --color-primary: hsl(87, 12%, 20%);