HSL(37, 9%, 54%)
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(37,9%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(37, 9%, 54%) | color: hsl(37, 9%, 54%) | |
| HEX | #948C7F | color: #948C7F | |
| RGB | rgb(148, 140, 127) | color: rgb(148, 140, 127) | |
| CMYK | cmyk(0%, 5%, 14%, 42%) | — | |
| HSV | hsv(37, 14%, 58%) | — | |
| HWB | hwb(37 50% 42%) | color: hwb(37 50% 42%) | |
| OKLCH | oklch(0.6433 0.0212 80.07) | color: oklch(0.6433 0.0212 80.07) | |
| Lab | lab(58.59 0.65 8.01) | color: lab(58.59 0.65 8.01) | |
| LCH | lch(58.59 8.04 85.36) | color: lch(58.59 8.04 85.36) |
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)
#919082 — rgb(145, 144, 130)
Deuteranopia (Green-blind)
#919283 — rgb(145, 146, 131)
Tritanopia (Blue-blind)
#948585 — rgb(148, 133, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(37, 9%, 54%);
text
color: hsl(37, 9%, 54%);
border
border: 2px solid hsl(37, 9%, 54%);
gradient light
background: linear-gradient(to right, hsl(37, 9%, 74%), hsl(37, 9%, 54%));
gradient dark
background: linear-gradient(to right, hsl(37, 9%, 54%), hsl(37, 9%, 34%))
hex
background-color: #948C7F;
tailwind
bg-[hsl(37,9%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(37, 9%, 54%, 0.4);
css variable
--color-primary: hsl(37, 9%, 54%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(37, 9%, 54%)?
HEX: #948C7F | RGB: rgb(148, 140, 127) | CMYK: 0%, 5%, 14%, 42% | HSV: 37°, 14%, 58%. Copy any format from the conversion table above.
What colors go well with #948C7F?
The complementary color is HSL(217, 9%, 54%). For a triadic harmony, use hues 37°, 157°, and 277°. For analogous combinations, try hues 7° and 67°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(37, 9%, 54%) in CSS?
As HSL: color: hsl(37, 9%, 54%); — As HEX: color: #948C7F; — As RGB: color: rgb(148, 140, 127); — Tailwind CSS: bg-[hsl(37,9%,54%)] — CSS variable: --color-primary: hsl(37, 9%, 54%);