HSL(48, 22%, 84%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,22%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 22%, 84%) | color: hsl(48, 22%, 84%) | |
| HEX | #DFDCCD | color: #DFDCCD | |
| RGB | rgb(223, 220, 205) | color: rgb(223, 220, 205) | |
| CMYK | cmyk(0%, 1%, 8%, 13%) | — | |
| HSV | hsv(50, 8%, 87%) | — | |
| HWB | hwb(50 80% 13%) | color: hwb(50 80% 13%) | |
| OKLCH | oklch(0.8927 0.0204 97.55) | color: oklch(0.8927 0.0204 97.55) | |
| Lab | lab(87.62 -1.56 7.73) | color: lab(87.62 -1.56 7.73) | |
| LCH | lch(87.62 7.89 101.41) | color: lch(87.62 7.89 101.41) |
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)
#DEDED1 — rgb(222, 222, 209)
Deuteranopia (Green-blind)
#DEDED2 — rgb(222, 222, 210)
Tritanopia (Blue-blind)
#DFD3D4 — rgb(223, 211, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 22%, 84%);
text
color: hsl(48, 22%, 84%);
border
border: 2px solid hsl(48, 22%, 84%);
gradient light
background: linear-gradient(to right, hsl(48, 22%, 100%), hsl(48, 22%, 84%));
gradient dark
background: linear-gradient(to right, hsl(48, 22%, 84%), hsl(48, 22%, 64%))
hex
background-color: #DFDCCD;
tailwind
bg-[hsl(48,22%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 22%, 84%, 0.4);
css variable
--color-primary: hsl(48, 22%, 84%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 22%, 84%)?
HEX: #DFDCCD | RGB: rgb(223, 220, 205) | CMYK: 0%, 1%, 8%, 13% | HSV: 50°, 8%, 87%. Copy any format from the conversion table above.
What colors go well with #DFDCCD?
The complementary color is HSL(228, 22%, 84%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 22%, 84%) in CSS?
As HSL: color: hsl(48, 22%, 84%); — As HEX: color: #DFDCCD; — As RGB: color: rgb(223, 220, 205); — Tailwind CSS: bg-[hsl(48,22%,84%)] — CSS variable: --color-primary: hsl(48, 22%, 84%);