HSL(48, 22%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,22%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 22%, 80%) | color: hsl(48, 22%, 80%) | |
| HEX | #D7D3C1 | color: #D7D3C1 | |
| RGB | rgb(215, 211, 193) | color: rgb(215, 211, 193) | |
| CMYK | cmyk(0%, 2%, 10%, 16%) | — | |
| HSV | hsv(49, 10%, 84%) | — | |
| HWB | hwb(49 76% 16%) | color: hwb(49 76% 16%) | |
| OKLCH | oklch(0.8651 0.0247 96.61) | color: oklch(0.8651 0.0247 96.61) | |
| Lab | lab(84.43 -1.71 9.4) | color: lab(84.43 -1.71 9.4) | |
| LCH | lch(84.43 9.55 100.31) | color: lch(84.43 9.55 100.31) |
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)
#D5D5C5 — rgb(213, 213, 197)
Deuteranopia (Green-blind)
#D6D6C6 — rgb(214, 214, 198)
Tritanopia (Blue-blind)
#D7C9CA — rgb(215, 201, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 22%, 80%);
text
color: hsl(48, 22%, 80%);
border
border: 2px solid hsl(48, 22%, 80%);
gradient light
background: linear-gradient(to right, hsl(48, 22%, 100%), hsl(48, 22%, 80%));
gradient dark
background: linear-gradient(to right, hsl(48, 22%, 80%), hsl(48, 22%, 60%))
hex
background-color: #D7D3C1;
tailwind
bg-[hsl(48,22%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 22%, 80%, 0.4);
css variable
--color-primary: hsl(48, 22%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 22%, 80%)?
HEX: #D7D3C1 | RGB: rgb(215, 211, 193) | CMYK: 0%, 2%, 10%, 16% | HSV: 49°, 10%, 84%. Copy any format from the conversion table above.
What colors go well with #D7D3C1?
The complementary color is HSL(228, 22%, 80%). 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%, 80%) in CSS?
As HSL: color: hsl(48, 22%, 80%); — As HEX: color: #D7D3C1; — As RGB: color: rgb(215, 211, 193); — Tailwind CSS: bg-[hsl(48,22%,80%)] — CSS variable: --color-primary: hsl(48, 22%, 80%);