HSL(149, 4%, 56%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(149,4%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(149, 4%, 56%) | color: hsl(149, 4%, 56%) | |
| HEX | #8A938F | color: #8A938F | |
| RGB | rgb(138, 147, 143) | color: rgb(138, 147, 143) | |
| CMYK | cmyk(6%, 0%, 3%, 42%) | — | |
| HSV | hsv(153, 6%, 58%) | — | |
| HWB | hwb(153 55% 42%) | color: hwb(153 55% 42%) | |
| OKLCH | oklch(0.6547 0.012 167.6) | color: oklch(0.6547 0.012 167.6) | |
| Lab | lab(60.12 -4.05 0.99) | color: lab(60.12 -4.05 0.99) | |
| LCH | lch(60.12 4.17 166.26) | color: lch(60.12 4.17 166.26) |
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)
#8E8E90 — rgb(142, 142, 144)
Deuteranopia (Green-blind)
#8D8D90 — rgb(141, 141, 144)
Tritanopia (Blue-blind)
#8A9191 — rgb(138, 145, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(149, 4%, 56%);
text
color: hsl(149, 4%, 56%);
border
border: 2px solid hsl(149, 4%, 56%);
gradient light
background: linear-gradient(to right, hsl(149, 4%, 76%), hsl(149, 4%, 56%));
gradient dark
background: linear-gradient(to right, hsl(149, 4%, 56%), hsl(149, 4%, 36%))
hex
background-color: #8A938F;
tailwind
bg-[hsl(149,4%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(149, 4%, 56%, 0.4);
css variable
--color-primary: hsl(149, 4%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(149, 4%, 56%)?
HEX: #8A938F | RGB: rgb(138, 147, 143) | CMYK: 6%, 0%, 3%, 42% | HSV: 153°, 6%, 58%. Copy any format from the conversion table above.
What colors go well with #8A938F?
The complementary color is HSL(329, 4%, 56%). For a triadic harmony, use hues 149°, 269°, and 29°. For analogous combinations, try hues 119° and 179°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(149, 4%, 56%) in CSS?
As HSL: color: hsl(149, 4%, 56%); — As HEX: color: #8A938F; — As RGB: color: rgb(138, 147, 143); — Tailwind CSS: bg-[hsl(149,4%,56%)] — CSS variable: --color-primary: hsl(149, 4%, 56%);