HSL(112, 5%, 23%)
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(112,5%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 5%, 23%) | color: hsl(112, 5%, 23%) | |
| HEX | #383E38 | color: #383E38 | |
| RGB | rgb(56, 62, 56) | color: rgb(56, 62, 56) | |
| CMYK | cmyk(10%, 0%, 10%, 76%) | — | |
| HSV | hsv(120, 10%, 24%) | — | |
| HWB | hwb(120 22% 76%) | color: hwb(120 22% 76%) | |
| OKLCH | oklch(0.3561 0.013 145.3) | color: oklch(0.3561 0.013 145.3) | |
| Lab | lab(25.48 -3.9 2.84) | color: lab(25.48 -3.9 2.84) | |
| LCH | lch(25.48 4.82 143.94) | color: lch(25.48 4.82 143.94) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#3B3B39 — rgb(59, 59, 57)
Deuteranopia (Green-blind)
#3A3A3A — rgb(58, 58, 58)
Tritanopia (Blue-blind)
#383B3B — rgb(56, 59, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 5%, 23%);
text
color: hsl(112, 5%, 23%);
border
border: 2px solid hsl(112, 5%, 23%);
gradient light
background: linear-gradient(to right, hsl(112, 5%, 43%), hsl(112, 5%, 23%));
gradient dark
background: linear-gradient(to right, hsl(112, 5%, 23%), hsl(112, 5%, 3%))
hex
background-color: #383E38;
tailwind
bg-[hsl(112,5%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 5%, 23%, 0.4);
css variable
--color-primary: hsl(112, 5%, 23%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(112, 5%, 23%)?
HEX: #383E38 | RGB: rgb(56, 62, 56) | CMYK: 10%, 0%, 10%, 76% | HSV: 120°, 10%, 24%. Copy any format from the conversion table above.
What colors go well with #383E38?
The complementary color is HSL(292, 5%, 23%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 5%, 23%) in CSS?
As HSL: color: hsl(112, 5%, 23%); — As HEX: color: #383E38; — As RGB: color: rgb(56, 62, 56); — Tailwind CSS: bg-[hsl(112,5%,23%)] — CSS variable: --color-primary: hsl(112, 5%, 23%);