HSL(45, 20%, 84%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,20%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 20%, 84%) | color: hsl(45, 20%, 84%) | |
| HEX | #DEDACE | color: #DEDACE | |
| RGB | rgb(222, 218, 206) | color: rgb(222, 218, 206) | |
| CMYK | cmyk(0%, 2%, 7%, 13%) | — | |
| HSV | hsv(45, 7%, 87%) | — | |
| HWB | hwb(45 81% 13%) | color: hwb(45 81% 13%) | |
| OKLCH | oklch(0.8882 0.0168 91.57) | color: oklch(0.8882 0.0168 91.57) | |
| Lab | lab(87.06 -0.71 6.38) | color: lab(87.06 -0.71 6.38) | |
| LCH | lch(87.06 6.42 96.35) | color: lch(87.06 6.42 96.35) |
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)
#DCDCD1 — rgb(220, 220, 209)
Deuteranopia (Green-blind)
#DDDDD2 — rgb(221, 221, 210)
Tritanopia (Blue-blind)
#DED3D4 — rgb(222, 211, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 20%, 84%);
text
color: hsl(45, 20%, 84%);
border
border: 2px solid hsl(45, 20%, 84%);
gradient light
background: linear-gradient(to right, hsl(45, 20%, 100%), hsl(45, 20%, 84%));
gradient dark
background: linear-gradient(to right, hsl(45, 20%, 84%), hsl(45, 20%, 64%))
hex
background-color: #DEDACE;
tailwind
bg-[hsl(45,20%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 20%, 84%, 0.4);
css variable
--color-primary: hsl(45, 20%, 84%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 20%, 84%)?
HEX: #DEDACE | RGB: rgb(222, 218, 206) | CMYK: 0%, 2%, 7%, 13% | HSV: 45°, 7%, 87%. Copy any format from the conversion table above.
What colors go well with #DEDACE?
The complementary color is HSL(225, 20%, 84%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 20%, 84%) in CSS?
As HSL: color: hsl(45, 20%, 84%); — As HEX: color: #DEDACE; — As RGB: color: rgb(222, 218, 206); — Tailwind CSS: bg-[hsl(45,20%,84%)] — CSS variable: --color-primary: hsl(45, 20%, 84%);