HSL(42, 3%, 40%)
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%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 3%, 40%) | color: hsl(42, 3%, 40%) | |
| HEX | #696763 | color: #696763 | |
| RGB | rgb(105, 103, 99) | color: rgb(105, 103, 99) | |
| CMYK | cmyk(0%, 2%, 6%, 59%) | — | |
| HSV | hsv(40, 6%, 41%) | — | |
| HWB | hwb(40 39% 59%) | color: hwb(40 39% 59%) | |
| OKLCH | oklch(0.5143 0.0067 84.58) | color: oklch(0.5143 0.0067 84.58) | |
| Lab | lab(43.66 -0.02 2.53) | color: lab(43.66 -0.02 2.53) | |
| LCH | lch(43.66 2.53 90.45) | color: lch(43.66 2.53 90.45) |
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)
#686864 — rgb(104, 104, 100)
Deuteranopia (Green-blind)
#686864 — rgb(104, 104, 100)
Tritanopia (Blue-blind)
#696565 — rgb(105, 101, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 3%, 40%);
text
color: hsl(42, 3%, 40%);
border
border: 2px solid hsl(42, 3%, 40%);
gradient light
background: linear-gradient(to right, hsl(42, 3%, 60%), hsl(42, 3%, 40%));
gradient dark
background: linear-gradient(to right, hsl(42, 3%, 40%), hsl(42, 3%, 20%))
hex
background-color: #696763;
tailwind
bg-[hsl(42,3%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 3%, 40%, 0.4);
css variable
--color-primary: hsl(42, 3%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 3%, 40%)?
HEX: #696763 | RGB: rgb(105, 103, 99) | CMYK: 0%, 2%, 6%, 59% | HSV: 40°, 6%, 41%. Copy any format from the conversion table above.
What colors go well with #696763?
The complementary color is HSL(222, 3%, 40%). 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%, 40%) in CSS?
As HSL: color: hsl(42, 3%, 40%); — As HEX: color: #696763; — As RGB: color: rgb(105, 103, 99); — Tailwind CSS: bg-[hsl(42,3%,40%)] — CSS variable: --color-primary: hsl(42, 3%, 40%);