HSL(46, 48%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,48%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 48%, 71%) | color: hsl(46, 48%, 71%) | |
| HEX | #D9C892 | color: #D9C892 | |
| RGB | rgb(217, 200, 146) | color: rgb(217, 200, 146) | |
| CMYK | cmyk(0%, 8%, 33%, 15%) | — | |
| HSV | hsv(46, 33%, 85%) | — | |
| HWB | hwb(46 57% 15%) | color: hwb(46 57% 15%) | |
| OKLCH | oklch(0.834 0.0731 92.68) | color: oklch(0.834 0.0731 92.68) | |
| Lab | lab(80.81 -2.02 29.22) | color: lab(80.81 -2.02 29.22) | |
| LCH | lch(80.81 29.29 93.95) | color: lch(80.81 29.29 93.95) |
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)
#D2D19F — rgb(210, 209, 159)
Deuteranopia (Green-blind)
#D3D4A2 — rgb(211, 212, 162)
Tritanopia (Blue-blind)
#D8A9AC — rgb(216, 169, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 48%, 71%);
text
color: hsl(46, 48%, 71%);
border
border: 2px solid hsl(46, 48%, 71%);
gradient light
background: linear-gradient(to right, hsl(46, 48%, 91%), hsl(46, 48%, 71%));
gradient dark
background: linear-gradient(to right, hsl(46, 48%, 71%), hsl(46, 48%, 51%))
hex
background-color: #D9C892;
tailwind
bg-[hsl(46,48%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 48%, 71%, 0.4);
css variable
--color-primary: hsl(46, 48%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 48%, 71%)?
HEX: #D9C892 | RGB: rgb(217, 200, 146) | CMYK: 0%, 8%, 33%, 15% | HSV: 46°, 33%, 85%. Copy any format from the conversion table above.
What colors go well with #D9C892?
The complementary color is HSL(226, 48%, 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, 48%, 71%) in CSS?
As HSL: color: hsl(46, 48%, 71%); — As HEX: color: #D9C892; — As RGB: color: rgb(217, 200, 146); — Tailwind CSS: bg-[hsl(46,48%,71%)] — CSS variable: --color-primary: hsl(46, 48%, 71%);