HSL(45, 50%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,50%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 50%, 71%) | color: hsl(45, 50%, 71%) | |
| HEX | #DAC890 | color: #DAC890 | |
| RGB | rgb(218, 200, 144) | color: rgb(218, 200, 144) | |
| CMYK | cmyk(0%, 8%, 34%, 15%) | — | |
| HSV | hsv(45, 34%, 85%) | — | |
| HWB | hwb(45 56% 15%) | color: hwb(45 56% 15%) | |
| OKLCH | oklch(0.8344 0.0757 92.36) | color: oklch(0.8344 0.0757 92.36) | |
| Lab | lab(80.87 -1.88 30.34) | color: lab(80.87 -1.88 30.34) | |
| LCH | lch(80.87 30.4 93.55) | color: lch(80.87 30.4 93.55) |
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)
#D2D29E — rgb(210, 210, 158)
Deuteranopia (Green-blind)
#D3D5A1 — rgb(211, 213, 161)
Tritanopia (Blue-blind)
#D9A8AB — rgb(217, 168, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 50%, 71%);
text
color: hsl(45, 50%, 71%);
border
border: 2px solid hsl(45, 50%, 71%);
gradient light
background: linear-gradient(to right, hsl(45, 50%, 91%), hsl(45, 50%, 71%));
gradient dark
background: linear-gradient(to right, hsl(45, 50%, 71%), hsl(45, 50%, 51%))
hex
background-color: #DAC890;
tailwind
bg-[hsl(45,50%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 50%, 71%, 0.4);
css variable
--color-primary: hsl(45, 50%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 50%, 71%)?
HEX: #DAC890 | RGB: rgb(218, 200, 144) | CMYK: 0%, 8%, 34%, 15% | HSV: 45°, 34%, 85%. Copy any format from the conversion table above.
What colors go well with #DAC890?
The complementary color is HSL(225, 50%, 71%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 50%, 71%) in CSS?
As HSL: color: hsl(45, 50%, 71%); — As HEX: color: #DAC890; — As RGB: color: rgb(218, 200, 144); — Tailwind CSS: bg-[hsl(45,50%,71%)] — CSS variable: --color-primary: hsl(45, 50%, 71%);