HSL(112, 17%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(112,17%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 17%, 31%) | color: hsl(112, 17%, 31%) | |
| HEX | #455C42 | color: #455C42 | |
| RGB | rgb(69, 92, 66) | color: rgb(69, 92, 66) | |
| CMYK | cmyk(25%, 0%, 28%, 64%) | — | |
| HSV | hsv(113, 28%, 36%) | — | |
| HWB | hwb(113 26% 64%) | color: hwb(113 26% 64%) | |
| OKLCH | oklch(0.4481 0.0501 141.76) | color: oklch(0.4481 0.0501 141.76) | |
| Lab | lab(36.58 -14.44 12.22) | color: lab(36.58 -14.44 12.22) | |
| LCH | lch(36.58 18.92 139.76) | color: lch(36.58 18.92 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)
#4F4F48 — rgb(79, 79, 72)
Deuteranopia (Green-blind)
#4E4C4A — rgb(78, 76, 74)
Tritanopia (Blue-blind)
#464D4E — rgb(70, 77, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 17%, 31%);
text
color: hsl(112, 17%, 31%);
border
border: 2px solid hsl(112, 17%, 31%);
gradient light
background: linear-gradient(to right, hsl(112, 17%, 51%), hsl(112, 17%, 31%));
gradient dark
background: linear-gradient(to right, hsl(112, 17%, 31%), hsl(112, 17%, 11%))
hex
background-color: #455C42;
tailwind
bg-[hsl(112,17%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 17%, 31%, 0.4);
css variable
--color-primary: hsl(112, 17%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 17%, 31%)?
HEX: #455C42 | RGB: rgb(69, 92, 66) | CMYK: 25%, 0%, 28%, 64% | HSV: 113°, 28%, 36%. Copy any format from the conversion table above.
What colors go well with #455C42?
The complementary color is HSL(292, 17%, 31%). 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, 17%, 31%) in CSS?
As HSL: color: hsl(112, 17%, 31%); — As HEX: color: #455C42; — As RGB: color: rgb(69, 92, 66); — Tailwind CSS: bg-[hsl(112,17%,31%)] — CSS variable: --color-primary: hsl(112, 17%, 31%);