HSL(142, 12%, 66%)
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%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 12%, 66%) | color: hsl(142, 12%, 66%) | |
| HEX | #9EB3A6 | color: #9EB3A6 | |
| RGB | rgb(158, 179, 166) | color: rgb(158, 179, 166) | |
| CMYK | cmyk(12%, 0%, 7%, 30%) | — | |
| HSV | hsv(143, 12%, 70%) | — | |
| HWB | hwb(143 62% 30%) | color: hwb(143 62% 30%) | |
| OKLCH | oklch(0.7468 0.0297 158.45) | color: oklch(0.7468 0.0297 158.45) | |
| Lab | lab(71.05 -9.8 4.19) | color: lab(71.05 -9.8 4.19) | |
| LCH | lch(71.05 10.66 156.85) | color: lch(71.05 10.66 156.85) |
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)
#A7A7A9 — rgb(167, 167, 169)
Deuteranopia (Green-blind)
#A6A4AA — rgb(166, 164, 170)
Tritanopia (Blue-blind)
#9FACAC — rgb(159, 172, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 12%, 66%);
text
color: hsl(142, 12%, 66%);
border
border: 2px solid hsl(142, 12%, 66%);
gradient light
background: linear-gradient(to right, hsl(142, 12%, 86%), hsl(142, 12%, 66%));
gradient dark
background: linear-gradient(to right, hsl(142, 12%, 66%), hsl(142, 12%, 46%))
hex
background-color: #9EB3A6;
tailwind
bg-[hsl(142,12%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 12%, 66%, 0.4);
css variable
--color-primary: hsl(142, 12%, 66%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(142, 12%, 66%)?
HEX: #9EB3A6 | RGB: rgb(158, 179, 166) | CMYK: 12%, 0%, 7%, 30% | HSV: 143°, 12%, 70%. Copy any format from the conversion table above.
What colors go well with #9EB3A6?
The complementary color is HSL(322, 12%, 66%). 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%, 66%) in CSS?
As HSL: color: hsl(142, 12%, 66%); — As HEX: color: #9EB3A6; — As RGB: color: rgb(158, 179, 166); — Tailwind CSS: bg-[hsl(142,12%,66%)] — CSS variable: --color-primary: hsl(142, 12%, 66%);