HSL(148, 11%, 16%)
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(148,11%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 11%, 16%) | color: hsl(148, 11%, 16%) | |
| HEX | #242D29 | color: #242D29 | |
| RGB | rgb(36, 45, 41) | color: rgb(36, 45, 41) | |
| CMYK | cmyk(20%, 0%, 9%, 82%) | — | |
| HSV | hsv(153, 20%, 18%) | — | |
| HWB | hwb(153 14% 82%) | color: hwb(153 14% 82%) | |
| OKLCH | oklch(0.2871 0.0144 166.64) | color: oklch(0.2871 0.0144 166.64) | |
| Lab | lab(17.52 -4.92 1.29) | color: lab(17.52 -4.92 1.29) | |
| LCH | lch(17.52 5.09 165.31) | color: lch(17.52 5.09 165.31) |
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)
#28282A — rgb(40, 40, 42)
Deuteranopia (Green-blind)
#27272A — rgb(39, 39, 42)
Tritanopia (Blue-blind)
#242B2B — rgb(36, 43, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 11%, 16%);
text
color: hsl(148, 11%, 16%);
border
border: 2px solid hsl(148, 11%, 16%);
gradient light
background: linear-gradient(to right, hsl(148, 11%, 36%), hsl(148, 11%, 16%));
gradient dark
background: linear-gradient(to right, hsl(148, 11%, 16%), hsl(148, 11%, 0%))
hex
background-color: #242D29;
tailwind
bg-[hsl(148,11%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 11%, 16%, 0.4);
css variable
--color-primary: hsl(148, 11%, 16%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(148, 11%, 16%)?
HEX: #242D29 | RGB: rgb(36, 45, 41) | CMYK: 20%, 0%, 9%, 82% | HSV: 153°, 20%, 18%. Copy any format from the conversion table above.
What colors go well with #242D29?
The complementary color is HSL(328, 11%, 16%). For a triadic harmony, use hues 148°, 268°, and 28°. For analogous combinations, try hues 118° and 178°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(148, 11%, 16%) in CSS?
As HSL: color: hsl(148, 11%, 16%); — As HEX: color: #242D29; — As RGB: color: rgb(36, 45, 41); — Tailwind CSS: bg-[hsl(148,11%,16%)] — CSS variable: --color-primary: hsl(148, 11%, 16%);