HSL(47, 30%, 81%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,30%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 30%, 81%) | color: hsl(47, 30%, 81%) | |
| HEX | #DDD7C0 | color: #DDD7C0 | |
| RGB | rgb(221, 215, 192) | color: rgb(221, 215, 192) | |
| CMYK | cmyk(0%, 3%, 13%, 13%) | — | |
| HSV | hsv(48, 13%, 87%) | — | |
| HWB | hwb(48 76% 13%) | color: hwb(48 76% 13%) | |
| OKLCH | oklch(0.8778 0.0315 94.92) | color: oklch(0.8778 0.0315 94.92) | |
| Lab | lab(85.9 -1.8 12.09) | color: lab(85.9 -1.8 12.09) | |
| LCH | lch(85.9 12.22 98.47) | color: lch(85.9 12.22 98.47) |
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)
#DADAC6 — rgb(218, 218, 198)
Deuteranopia (Green-blind)
#DBDBC7 — rgb(219, 219, 199)
Tritanopia (Blue-blind)
#DDCACB — rgb(221, 202, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 30%, 81%);
text
color: hsl(47, 30%, 81%);
border
border: 2px solid hsl(47, 30%, 81%);
gradient light
background: linear-gradient(to right, hsl(47, 30%, 100%), hsl(47, 30%, 81%));
gradient dark
background: linear-gradient(to right, hsl(47, 30%, 81%), hsl(47, 30%, 61%))
hex
background-color: #DDD7C0;
tailwind
bg-[hsl(47,30%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 30%, 81%, 0.4);
css variable
--color-primary: hsl(47, 30%, 81%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 30%, 81%)?
HEX: #DDD7C0 | RGB: rgb(221, 215, 192) | CMYK: 0%, 3%, 13%, 13% | HSV: 48°, 13%, 87%. Copy any format from the conversion table above.
What colors go well with #DDD7C0?
The complementary color is HSL(227, 30%, 81%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 30%, 81%) in CSS?
As HSL: color: hsl(47, 30%, 81%); — As HEX: color: #DDD7C0; — As RGB: color: rgb(221, 215, 192); — Tailwind CSS: bg-[hsl(47,30%,81%)] — CSS variable: --color-primary: hsl(47, 30%, 81%);