HSL(48, 70%, 56%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,70%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 70%, 56%) | color: hsl(48, 70%, 56%) | |
| HEX | #DDBE40 | color: #DDBE40 | |
| RGB | rgb(221, 190, 64) | color: rgb(221, 190, 64) | |
| CMYK | cmyk(0%, 14%, 71%, 13%) | — | |
| HSV | hsv(48, 71%, 87%) | — | |
| HWB | hwb(48 25% 13%) | color: hwb(48 25% 13%) | |
| OKLCH | oklch(0.8064 0.1438 94.9) | color: oklch(0.8064 0.1438 94.9) | |
| Lab | lab(77.62 -2.19 64.45) | color: lab(77.62 -2.19 64.45) | |
| LCH | lch(77.62 64.49 91.95) | color: lch(77.62 64.49 91.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)
#D0CF5E — rgb(208, 207, 94)
Deuteranopia (Green-blind)
#D1D466 — rgb(209, 212, 102)
Tritanopia (Blue-blind)
#DB777C — rgb(219, 119, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 70%, 56%);
text
color: hsl(48, 70%, 56%);
border
border: 2px solid hsl(48, 70%, 56%);
gradient light
background: linear-gradient(to right, hsl(48, 70%, 76%), hsl(48, 70%, 56%));
gradient dark
background: linear-gradient(to right, hsl(48, 70%, 56%), hsl(48, 70%, 36%))
hex
background-color: #DDBE40;
tailwind
bg-[hsl(48,70%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 70%, 56%, 0.4);
css variable
--color-primary: hsl(48, 70%, 56%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 70%, 56%)?
HEX: #DDBE40 | RGB: rgb(221, 190, 64) | CMYK: 0%, 14%, 71%, 13% | HSV: 48°, 71%, 87%. Copy any format from the conversion table above.
What colors go well with #DDBE40?
The complementary color is HSL(228, 70%, 56%). 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, 70%, 56%) in CSS?
As HSL: color: hsl(48, 70%, 56%); — As HEX: color: #DDBE40; — As RGB: color: rgb(221, 190, 64); — Tailwind CSS: bg-[hsl(48,70%,56%)] — CSS variable: --color-primary: hsl(48, 70%, 56%);