HSL(46, 35%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,35%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 35%, 79%) | color: hsl(46, 35%, 79%) | |
| HEX | #DCD3B7 | color: #DCD3B7 | |
| RGB | rgb(220, 211, 183) | color: rgb(220, 211, 183) | |
| CMYK | cmyk(0%, 4%, 17%, 14%) | — | |
| HSV | hsv(45, 17%, 86%) | — | |
| HWB | hwb(45 71% 14%) | color: hwb(45 71% 14%) | |
| OKLCH | oklch(0.8667 0.0388 92.26) | color: oklch(0.8667 0.0388 92.26) | |
| Lab | lab(84.6 -1.49 14.99) | color: lab(84.6 -1.49 14.99) | |
| LCH | lch(84.6 15.06 95.68) | color: lch(84.6 15.06 95.68) |
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)
#D8D8BE — rgb(216, 216, 190)
Deuteranopia (Green-blind)
#D9D9BF — rgb(217, 217, 191)
Tritanopia (Blue-blind)
#DCC3C4 — rgb(220, 195, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 35%, 79%);
text
color: hsl(46, 35%, 79%);
border
border: 2px solid hsl(46, 35%, 79%);
gradient light
background: linear-gradient(to right, hsl(46, 35%, 99%), hsl(46, 35%, 79%));
gradient dark
background: linear-gradient(to right, hsl(46, 35%, 79%), hsl(46, 35%, 59%))
hex
background-color: #DCD3B7;
tailwind
bg-[hsl(46,35%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 35%, 79%, 0.4);
css variable
--color-primary: hsl(46, 35%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 35%, 79%)?
HEX: #DCD3B7 | RGB: rgb(220, 211, 183) | CMYK: 0%, 4%, 17%, 14% | HSV: 45°, 17%, 86%. Copy any format from the conversion table above.
What colors go well with #DCD3B7?
The complementary color is HSL(226, 35%, 79%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 35%, 79%) in CSS?
As HSL: color: hsl(46, 35%, 79%); — As HEX: color: #DCD3B7; — As RGB: color: rgb(220, 211, 183); — Tailwind CSS: bg-[hsl(46,35%,79%)] — CSS variable: --color-primary: hsl(46, 35%, 79%);