HSL(104, 9%, 50%)
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(104,9%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 9%, 50%) | color: hsl(104, 9%, 50%) | |
| HEX | #7A8B74 | color: #7A8B74 | |
| RGB | rgb(122, 139, 116) | color: rgb(122, 139, 116) | |
| CMYK | cmyk(12%, 0%, 17%, 45%) | — | |
| HSV | hsv(104, 17%, 55%) | — | |
| HWB | hwb(104 46% 45%) | color: hwb(104 46% 45%) | |
| OKLCH | oklch(0.6164 0.0393 137.53) | color: oklch(0.6164 0.0393 137.53) | |
| Lab | lab(55.95 -10.72 10.27) | color: lab(55.95 -10.72 10.27) | |
| LCH | lch(55.95 14.85 136.23) | color: lch(55.95 14.85 136.23) |
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)
#81827A — rgb(129, 130, 122)
Deuteranopia (Green-blind)
#807F7B — rgb(128, 127, 123)
Tritanopia (Blue-blind)
#7B7E7F — rgb(123, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 9%, 50%);
text
color: hsl(104, 9%, 50%);
border
border: 2px solid hsl(104, 9%, 50%);
gradient light
background: linear-gradient(to right, hsl(104, 9%, 70%), hsl(104, 9%, 50%));
gradient dark
background: linear-gradient(to right, hsl(104, 9%, 50%), hsl(104, 9%, 30%))
hex
background-color: #7A8B74;
tailwind
bg-[hsl(104,9%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 9%, 50%, 0.4);
css variable
--color-primary: hsl(104, 9%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(104, 9%, 50%)?
HEX: #7A8B74 | RGB: rgb(122, 139, 116) | CMYK: 12%, 0%, 17%, 45% | HSV: 104°, 17%, 55%. Copy any format from the conversion table above.
What colors go well with #7A8B74?
The complementary color is HSL(284, 9%, 50%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 9%, 50%) in CSS?
As HSL: color: hsl(104, 9%, 50%); — As HEX: color: #7A8B74; — As RGB: color: rgb(122, 139, 116); — Tailwind CSS: bg-[hsl(104,9%,50%)] — CSS variable: --color-primary: hsl(104, 9%, 50%);