HSL(22, 6%, 84%)
Grayish White — White color
Adjust Color
Color Information
Color Name
Grayish White
Color Family
White
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(22,6%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 6%, 84%) | color: hsl(22, 6%, 84%) | |
| HEX | #D9D6D4 | color: #D9D6D4 | |
| RGB | rgb(217, 214, 212) | color: rgb(217, 214, 212) | |
| CMYK | cmyk(0%, 1%, 2%, 15%) | — | |
| HSV | hsv(24, 2%, 85%) | — | |
| HWB | hwb(24 83% 15%) | color: hwb(24 83% 15%) | |
| OKLCH | oklch(0.8779 0.0043 56.37) | color: oklch(0.8779 0.0043 56.37) | |
| Lab | lab(85.81 0.67 1.35) | color: lab(85.81 0.67 1.35) | |
| LCH | lch(85.81 1.51 63.6) | color: lch(85.81 1.51 63.6) |
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)
#D8D8D4 — rgb(216, 216, 212)
Deuteranopia (Green-blind)
#D8D8D5 — rgb(216, 216, 213)
Tritanopia (Blue-blind)
#D9D5D5 — rgb(217, 213, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 6%, 84%);
text
color: hsl(22, 6%, 84%);
border
border: 2px solid hsl(22, 6%, 84%);
gradient light
background: linear-gradient(to right, hsl(22, 6%, 100%), hsl(22, 6%, 84%));
gradient dark
background: linear-gradient(to right, hsl(22, 6%, 84%), hsl(22, 6%, 64%))
hex
background-color: #D9D6D4;
tailwind
bg-[hsl(22,6%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 6%, 84%, 0.4);
css variable
--color-primary: hsl(22, 6%, 84%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(22, 6%, 84%)?
HEX: #D9D6D4 | RGB: rgb(217, 214, 212) | CMYK: 0%, 1%, 2%, 15% | HSV: 24°, 2%, 85%. Copy any format from the conversion table above.
What colors go well with #D9D6D4?
The complementary color is HSL(202, 6%, 84%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 6%, 84%) in CSS?
As HSL: color: hsl(22, 6%, 84%); — As HEX: color: #D9D6D4; — As RGB: color: rgb(217, 214, 212); — Tailwind CSS: bg-[hsl(22,6%,84%)] — CSS variable: --color-primary: hsl(22, 6%, 84%);