HSL(38, 9%, 59%)
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(38,9%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(38, 9%, 59%) | color: hsl(38, 9%, 59%) | |
| HEX | #A0998D | color: #A0998D | |
| RGB | rgb(160, 153, 141) | color: rgb(160, 153, 141) | |
| CMYK | cmyk(0%, 4%, 12%, 37%) | — | |
| HSV | hsv(38, 12%, 63%) | — | |
| HWB | hwb(38 55% 37%) | color: hwb(38 55% 37%) | |
| OKLCH | oklch(0.6855 0.0191 81.31) | color: oklch(0.6855 0.0191 81.31) | |
| Lab | lab(63.49 0.41 7.22) | color: lab(63.49 0.41 7.22) | |
| LCH | lch(63.49 7.23 86.75) | color: lch(63.49 7.23 86.75) |
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)
#9D9D90 — rgb(157, 157, 144)
Deuteranopia (Green-blind)
#9D9E91 — rgb(157, 158, 145)
Tritanopia (Blue-blind)
#A09293 — rgb(160, 146, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(38, 9%, 59%);
text
color: hsl(38, 9%, 59%);
border
border: 2px solid hsl(38, 9%, 59%);
gradient light
background: linear-gradient(to right, hsl(38, 9%, 79%), hsl(38, 9%, 59%));
gradient dark
background: linear-gradient(to right, hsl(38, 9%, 59%), hsl(38, 9%, 39%))
hex
background-color: #A0998D;
tailwind
bg-[hsl(38,9%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(38, 9%, 59%, 0.4);
css variable
--color-primary: hsl(38, 9%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(38, 9%, 59%)?
HEX: #A0998D | RGB: rgb(160, 153, 141) | CMYK: 0%, 4%, 12%, 37% | HSV: 38°, 12%, 63%. Copy any format from the conversion table above.
What colors go well with #A0998D?
The complementary color is HSL(218, 9%, 59%). For a triadic harmony, use hues 38°, 158°, and 278°. For analogous combinations, try hues 8° and 68°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(38, 9%, 59%) in CSS?
As HSL: color: hsl(38, 9%, 59%); — As HEX: color: #A0998D; — As RGB: color: rgb(160, 153, 141); — Tailwind CSS: bg-[hsl(38,9%,59%)] — CSS variable: --color-primary: hsl(38, 9%, 59%);