HSL(155, 5%, 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(155,5%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(155, 5%, 50%) | color: hsl(155, 5%, 50%) | |
| HEX | #798681 | color: #798681 | |
| RGB | rgb(121, 134, 129) | color: rgb(121, 134, 129) | |
| CMYK | cmyk(10%, 0%, 4%, 47%) | — | |
| HSV | hsv(157, 10%, 53%) | — | |
| HWB | hwb(157 48% 47%) | color: hwb(157 48% 47%) | |
| OKLCH | oklch(0.6079 0.017 170.69) | color: oklch(0.6079 0.017 170.69) | |
| Lab | lab(54.76 -5.78 1.07) | color: lab(54.76 -5.78 1.07) | |
| LCH | lch(54.76 5.88 169.51) | color: lch(54.76 5.88 169.51) |
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)
#7F7F82 — rgb(127, 127, 130)
Deuteranopia (Green-blind)
#7E7D83 — rgb(126, 125, 131)
Tritanopia (Blue-blind)
#7A8383 — rgb(122, 131, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(155, 5%, 50%);
text
color: hsl(155, 5%, 50%);
border
border: 2px solid hsl(155, 5%, 50%);
gradient light
background: linear-gradient(to right, hsl(155, 5%, 70%), hsl(155, 5%, 50%));
gradient dark
background: linear-gradient(to right, hsl(155, 5%, 50%), hsl(155, 5%, 30%))
hex
background-color: #798681;
tailwind
bg-[hsl(155,5%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(155, 5%, 50%, 0.4);
css variable
--color-primary: hsl(155, 5%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(155, 5%, 50%)?
HEX: #798681 | RGB: rgb(121, 134, 129) | CMYK: 10%, 0%, 4%, 47% | HSV: 157°, 10%, 53%. Copy any format from the conversion table above.
What colors go well with #798681?
The complementary color is HSL(335, 5%, 50%). For a triadic harmony, use hues 155°, 275°, and 35°. For analogous combinations, try hues 125° and 185°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(155, 5%, 50%) in CSS?
As HSL: color: hsl(155, 5%, 50%); — As HEX: color: #798681; — As RGB: color: rgb(121, 134, 129); — Tailwind CSS: bg-[hsl(155,5%,50%)] — CSS variable: --color-primary: hsl(155, 5%, 50%);