HSL(46, 72%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,72%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 72%, 52%) | color: hsl(46, 72%, 52%) | |
| HEX | #DDB42C | color: #DDB42C | |
| RGB | rgb(221, 180, 44) | color: rgb(221, 180, 44) | |
| CMYK | cmyk(0%, 19%, 80%, 13%) | — | |
| HSV | hsv(46, 80%, 87%) | — | |
| HWB | hwb(46 17% 13%) | color: hwb(46 17% 13%) | |
| OKLCH | oklch(0.7849 0.1489 90.66) | color: oklch(0.7849 0.1489 90.66) | |
| Lab | lab(74.95 2.23 68.95) | color: lab(74.95 2.23 68.95) | |
| LCH | lch(74.95 68.99 88.15) | color: lch(74.95 68.99 88.15) |
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)
#CBCB4D — rgb(203, 203, 77)
Deuteranopia (Green-blind)
#CED155 — rgb(206, 209, 85)
Tritanopia (Blue-blind)
#DB676D — rgb(219, 103, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 72%, 52%);
text
color: hsl(46, 72%, 52%);
border
border: 2px solid hsl(46, 72%, 52%);
gradient light
background: linear-gradient(to right, hsl(46, 72%, 72%), hsl(46, 72%, 52%));
gradient dark
background: linear-gradient(to right, hsl(46, 72%, 52%), hsl(46, 72%, 32%))
hex
background-color: #DDB42C;
tailwind
bg-[hsl(46,72%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 72%, 52%, 0.4);
css variable
--color-primary: hsl(46, 72%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 72%, 52%)?
HEX: #DDB42C | RGB: rgb(221, 180, 44) | CMYK: 0%, 19%, 80%, 13% | HSV: 46°, 80%, 87%. Copy any format from the conversion table above.
What colors go well with #DDB42C?
The complementary color is HSL(226, 72%, 52%). 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%, 52%) in CSS?
As HSL: color: hsl(46, 72%, 52%); — As HEX: color: #DDB42C; — As RGB: color: rgb(221, 180, 44); — Tailwind CSS: bg-[hsl(46,72%,52%)] — CSS variable: --color-primary: hsl(46, 72%, 52%);