HSL(46, 72%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,72%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 72%, 50%) | color: hsl(46, 72%, 50%) | |
| HEX | #DBB024 | color: #DBB024 | |
| RGB | rgb(219, 176, 36) | color: rgb(219, 176, 36) | |
| CMYK | cmyk(0%, 20%, 84%, 14%) | — | |
| HSV | hsv(46, 84%, 86%) | — | |
| HWB | hwb(46 14% 14%) | color: hwb(46 14% 14%) | |
| OKLCH | oklch(0.7745 0.1499 89.79) | color: oklch(0.7745 0.1499 89.79) | |
| Lab | lab(73.7 3.23 70.13) | color: lab(73.7 3.23 70.13) | |
| LCH | lch(73.7 70.2 87.36) | color: lch(73.7 70.2 87.36) |
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)
#C8C846 — rgb(200, 200, 70)
Deuteranopia (Green-blind)
#CBCE4E — rgb(203, 206, 78)
Tritanopia (Blue-blind)
#D96167 — rgb(217, 97, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 72%, 50%);
text
color: hsl(46, 72%, 50%);
border
border: 2px solid hsl(46, 72%, 50%);
gradient light
background: linear-gradient(to right, hsl(46, 72%, 70%), hsl(46, 72%, 50%));
gradient dark
background: linear-gradient(to right, hsl(46, 72%, 50%), hsl(46, 72%, 30%))
hex
background-color: #DBB024;
tailwind
bg-[hsl(46,72%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 72%, 50%, 0.4);
css variable
--color-primary: hsl(46, 72%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 72%, 50%)?
HEX: #DBB024 | RGB: rgb(219, 176, 36) | CMYK: 0%, 20%, 84%, 14% | HSV: 46°, 84%, 86%. Copy any format from the conversion table above.
What colors go well with #DBB024?
The complementary color is HSL(226, 72%, 50%). 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, 72%, 50%) in CSS?
As HSL: color: hsl(46, 72%, 50%); — As HEX: color: #DBB024; — As RGB: color: rgb(219, 176, 36); — Tailwind CSS: bg-[hsl(46,72%,50%)] — CSS variable: --color-primary: hsl(46, 72%, 50%);