HSL(142, 1%, 26%)
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(142,1%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 1%, 26%) | color: hsl(142, 1%, 26%) | |
| HEX | #424342 | color: #424342 | |
| RGB | rgb(66, 67, 66) | color: rgb(66, 67, 66) | |
| CMYK | cmyk(1%, 0%, 1%, 74%) | — | |
| HSV | hsv(120, 1%, 26%) | — | |
| HWB | hwb(120 26% 74%) | color: hwb(120 26% 74%) | |
| OKLCH | oklch(0.3816 0.0021 145.53) | color: oklch(0.3816 0.0021 145.53) | |
| Lab | lab(28.29 -0.64 0.46) | color: lab(28.29 -0.64 0.46) | |
| LCH | lch(28.29 0.79 144.29) | color: lch(28.29 0.79 144.29) |
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)
#424242 — rgb(66, 66, 66)
Deuteranopia (Green-blind)
#424242 — rgb(66, 66, 66)
Tritanopia (Blue-blind)
#424242 — rgb(66, 66, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 1%, 26%);
text
color: hsl(142, 1%, 26%);
border
border: 2px solid hsl(142, 1%, 26%);
gradient light
background: linear-gradient(to right, hsl(142, 1%, 46%), hsl(142, 1%, 26%));
gradient dark
background: linear-gradient(to right, hsl(142, 1%, 26%), hsl(142, 1%, 6%))
hex
background-color: #424342;
tailwind
bg-[hsl(142,1%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 1%, 26%, 0.4);
css variable
--color-primary: hsl(142, 1%, 26%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(142, 1%, 26%)?
HEX: #424342 | RGB: rgb(66, 67, 66) | CMYK: 1%, 0%, 1%, 74% | HSV: 120°, 1%, 26%. Copy any format from the conversion table above.
What colors go well with #424342?
The complementary color is HSL(322, 1%, 26%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 1%, 26%) in CSS?
As HSL: color: hsl(142, 1%, 26%); — As HEX: color: #424342; — As RGB: color: rgb(66, 67, 66); — Tailwind CSS: bg-[hsl(142,1%,26%)] — CSS variable: --color-primary: hsl(142, 1%, 26%);