HSL(42, 3%, 61%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(42,3%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 3%, 61%) | color: hsl(42, 3%, 61%) | |
| HEX | #9F9D99 | color: #9F9D99 | |
| RGB | rgb(159, 157, 153) | color: rgb(159, 157, 153) | |
| CMYK | cmyk(0%, 1%, 4%, 38%) | — | |
| HSV | hsv(40, 4%, 62%) | — | |
| HWB | hwb(40 60% 38%) | color: hwb(40 60% 38%) | |
| OKLCH | oklch(0.6965 0.0062 84.57) | color: oklch(0.6965 0.0062 84.57) | |
| Lab | lab(64.79 -0.03 2.34) | color: lab(64.79 -0.03 2.34) | |
| LCH | lch(64.79 2.34 90.73) | color: lch(64.79 2.34 90.73) |
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)
#9E9E9A — rgb(158, 158, 154)
Deuteranopia (Green-blind)
#9E9E9A — rgb(158, 158, 154)
Tritanopia (Blue-blind)
#9F9B9B — rgb(159, 155, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 3%, 61%);
text
color: hsl(42, 3%, 61%);
border
border: 2px solid hsl(42, 3%, 61%);
gradient light
background: linear-gradient(to right, hsl(42, 3%, 81%), hsl(42, 3%, 61%));
gradient dark
background: linear-gradient(to right, hsl(42, 3%, 61%), hsl(42, 3%, 41%))
hex
background-color: #9F9D99;
tailwind
bg-[hsl(42,3%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 3%, 61%, 0.4);
css variable
--color-primary: hsl(42, 3%, 61%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 3%, 61%)?
HEX: #9F9D99 | RGB: rgb(159, 157, 153) | CMYK: 0%, 1%, 4%, 38% | HSV: 40°, 4%, 62%. Copy any format from the conversion table above.
What colors go well with #9F9D99?
The complementary color is HSL(222, 3%, 61%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 3%, 61%) in CSS?
As HSL: color: hsl(42, 3%, 61%); — As HEX: color: #9F9D99; — As RGB: color: rgb(159, 157, 153); — Tailwind CSS: bg-[hsl(42,3%,61%)] — CSS variable: --color-primary: hsl(42, 3%, 61%);