HSL(48, 72%, 53%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,72%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 72%, 53%) | color: hsl(48, 72%, 53%) | |
| HEX | #DDBB31 | color: #DDBB31 | |
| RGB | rgb(221, 187, 49) | color: rgb(221, 187, 49) | |
| CMYK | cmyk(0%, 15%, 78%, 13%) | — | |
| HSV | hsv(48, 78%, 87%) | — | |
| HWB | hwb(48 19% 13%) | color: hwb(48 19% 13%) | |
| OKLCH | oklch(0.7993 0.1504 94.26) | color: oklch(0.7993 0.1504 94.26) | |
| Lab | lab(76.76 -1.26 68.98) | color: lab(76.76 -1.26 68.98) | |
| LCH | lch(76.76 68.99 91.05) | color: lch(76.76 68.99 91.05) |
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)
#CECE52 — rgb(206, 206, 82)
Deuteranopia (Green-blind)
#D0D35A — rgb(208, 211, 90)
Tritanopia (Blue-blind)
#DB6D73 — rgb(219, 109, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 72%, 53%);
text
color: hsl(48, 72%, 53%);
border
border: 2px solid hsl(48, 72%, 53%);
gradient light
background: linear-gradient(to right, hsl(48, 72%, 73%), hsl(48, 72%, 53%));
gradient dark
background: linear-gradient(to right, hsl(48, 72%, 53%), hsl(48, 72%, 33%))
hex
background-color: #DDBB31;
tailwind
bg-[hsl(48,72%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 72%, 53%, 0.4);
css variable
--color-primary: hsl(48, 72%, 53%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 72%, 53%)?
HEX: #DDBB31 | RGB: rgb(221, 187, 49) | CMYK: 0%, 15%, 78%, 13% | HSV: 48°, 78%, 87%. Copy any format from the conversion table above.
What colors go well with #DDBB31?
The complementary color is HSL(228, 72%, 53%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 72%, 53%) in CSS?
As HSL: color: hsl(48, 72%, 53%); — As HEX: color: #DDBB31; — As RGB: color: rgb(221, 187, 49); — Tailwind CSS: bg-[hsl(48,72%,53%)] — CSS variable: --color-primary: hsl(48, 72%, 53%);