HSL(118, 9%, 49%)
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(118,9%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 9%, 49%) | color: hsl(118, 9%, 49%) | |
| HEX | #728872 | color: #728872 | |
| RGB | rgb(114, 136, 114) | color: rgb(114, 136, 114) | |
| CMYK | cmyk(16%, 0%, 16%, 47%) | — | |
| HSV | hsv(120, 16%, 53%) | — | |
| HWB | hwb(120 45% 47%) | color: hwb(120 45% 47%) | |
| OKLCH | oklch(0.6028 0.0415 145.04) | color: oklch(0.6028 0.0415 145.04) | |
| Lab | lab(54.45 -12.44 9.21) | color: lab(54.45 -12.44 9.21) | |
| LCH | lch(54.45 15.48 143.49) | color: lch(54.45 15.48 143.49) |
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)
#7C7C77 — rgb(124, 124, 119)
Deuteranopia (Green-blind)
#7A7979 — rgb(122, 121, 121)
Tritanopia (Blue-blind)
#737C7C — rgb(115, 124, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 9%, 49%);
text
color: hsl(118, 9%, 49%);
border
border: 2px solid hsl(118, 9%, 49%);
gradient light
background: linear-gradient(to right, hsl(118, 9%, 69%), hsl(118, 9%, 49%));
gradient dark
background: linear-gradient(to right, hsl(118, 9%, 49%), hsl(118, 9%, 29%))
hex
background-color: #728872;
tailwind
bg-[hsl(118,9%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 9%, 49%, 0.4);
css variable
--color-primary: hsl(118, 9%, 49%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(118, 9%, 49%)?
HEX: #728872 | RGB: rgb(114, 136, 114) | CMYK: 16%, 0%, 16%, 47% | HSV: 120°, 16%, 53%. Copy any format from the conversion table above.
What colors go well with #728872?
The complementary color is HSL(298, 9%, 49%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 9%, 49%) in CSS?
As HSL: color: hsl(118, 9%, 49%); — As HEX: color: #728872; — As RGB: color: rgb(114, 136, 114); — Tailwind CSS: bg-[hsl(118,9%,49%)] — CSS variable: --color-primary: hsl(118, 9%, 49%);