HSL(46, 46%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,46%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 46%, 71%) | color: hsl(46, 46%, 71%) | |
| HEX | #D7C793 | color: #D7C793 | |
| RGB | rgb(215, 199, 147) | color: rgb(215, 199, 147) | |
| CMYK | cmyk(0%, 7%, 32%, 16%) | — | |
| HSV | hsv(46, 32%, 84%) | — | |
| HWB | hwb(46 57% 16%) | color: hwb(46 57% 16%) | |
| OKLCH | oklch(0.8304 0.0706 93.01) | color: oklch(0.8304 0.0706 93.01) | |
| Lab | lab(80.41 -2.15 28.11) | color: lab(80.41 -2.15 28.11) | |
| LCH | lch(80.41 28.19 94.37) | color: lch(80.41 28.19 94.37) |
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)
#D0D0A0 — rgb(208, 208, 160)
Deuteranopia (Green-blind)
#D1D2A3 — rgb(209, 210, 163)
Tritanopia (Blue-blind)
#D6AAAC — rgb(214, 170, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 46%, 71%);
text
color: hsl(46, 46%, 71%);
border
border: 2px solid hsl(46, 46%, 71%);
gradient light
background: linear-gradient(to right, hsl(46, 46%, 91%), hsl(46, 46%, 71%));
gradient dark
background: linear-gradient(to right, hsl(46, 46%, 71%), hsl(46, 46%, 51%))
hex
background-color: #D7C793;
tailwind
bg-[hsl(46,46%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 46%, 71%, 0.4);
css variable
--color-primary: hsl(46, 46%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 46%, 71%)?
HEX: #D7C793 | RGB: rgb(215, 199, 147) | CMYK: 0%, 7%, 32%, 16% | HSV: 46°, 32%, 84%. Copy any format from the conversion table above.
What colors go well with #D7C793?
The complementary color is HSL(226, 46%, 71%). 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, 46%, 71%) in CSS?
As HSL: color: hsl(46, 46%, 71%); — As HEX: color: #D7C793; — As RGB: color: rgb(215, 199, 147); — Tailwind CSS: bg-[hsl(46,46%,71%)] — CSS variable: --color-primary: hsl(46, 46%, 71%);