HSL(142, 12%, 48%)
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(142,12%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 12%, 48%) | color: hsl(142, 12%, 48%) | |
| HEX | #6C8976 | color: #6C8976 | |
| RGB | rgb(108, 137, 118) | color: rgb(108, 137, 118) | |
| CMYK | cmyk(21%, 0%, 14%, 46%) | — | |
| HSV | hsv(141, 21%, 54%) | — | |
| HWB | hwb(141 43% 46%) | color: hwb(141 43% 46%) | |
| OKLCH | oklch(0.602 0.0438 156.14) | color: oklch(0.602 0.0438 156.14) | |
| Lab | lab(54.44 -14.36 6.83) | color: lab(54.44 -14.36 6.83) | |
| LCH | lch(54.44 15.9 154.56) | color: lch(54.44 15.9 154.56) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#79797B — rgb(121, 121, 123)
Deuteranopia (Green-blind)
#77757C — rgb(119, 117, 124)
Tritanopia (Blue-blind)
#6D7E7F — rgb(109, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 12%, 48%);
text
color: hsl(142, 12%, 48%);
border
border: 2px solid hsl(142, 12%, 48%);
gradient light
background: linear-gradient(to right, hsl(142, 12%, 68%), hsl(142, 12%, 48%));
gradient dark
background: linear-gradient(to right, hsl(142, 12%, 48%), hsl(142, 12%, 28%))
hex
background-color: #6C8976;
tailwind
bg-[hsl(142,12%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 12%, 48%, 0.4);
css variable
--color-primary: hsl(142, 12%, 48%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(142, 12%, 48%)?
HEX: #6C8976 | RGB: rgb(108, 137, 118) | CMYK: 21%, 0%, 14%, 46% | HSV: 141°, 21%, 54%. Copy any format from the conversion table above.
What colors go well with #6C8976?
The complementary color is HSL(322, 12%, 48%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 12%, 48%) in CSS?
As HSL: color: hsl(142, 12%, 48%); — As HEX: color: #6C8976; — As RGB: color: rgb(108, 137, 118); — Tailwind CSS: bg-[hsl(142,12%,48%)] — CSS variable: --color-primary: hsl(142, 12%, 48%);