HSL(46, 70%, 58%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,70%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 70%, 58%) | color: hsl(46, 70%, 58%) | |
| HEX | #DFBC49 | color: #DFBC49 | |
| RGB | rgb(223, 188, 73) | color: rgb(223, 188, 73) | |
| CMYK | cmyk(0%, 16%, 67%, 13%) | — | |
| HSV | hsv(46, 67%, 87%) | — | |
| HWB | hwb(46 29% 13%) | color: hwb(46 29% 13%) | |
| OKLCH | oklch(0.805 0.1367 91.94) | color: oklch(0.805 0.1367 91.94) | |
| Lab | lab(77.36 0.17 60.63) | color: lab(77.36 0.17 60.63) | |
| LCH | lch(77.36 60.63 89.84) | color: lch(77.36 60.63 89.84) |
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)
#D0D065 — rgb(208, 208, 101)
Deuteranopia (Green-blind)
#D2D56C — rgb(210, 213, 108)
Tritanopia (Blue-blind)
#DD7B80 — rgb(221, 123, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 70%, 58%);
text
color: hsl(46, 70%, 58%);
border
border: 2px solid hsl(46, 70%, 58%);
gradient light
background: linear-gradient(to right, hsl(46, 70%, 78%), hsl(46, 70%, 58%));
gradient dark
background: linear-gradient(to right, hsl(46, 70%, 58%), hsl(46, 70%, 38%))
hex
background-color: #DFBC49;
tailwind
bg-[hsl(46,70%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 70%, 58%, 0.4);
css variable
--color-primary: hsl(46, 70%, 58%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 70%, 58%)?
HEX: #DFBC49 | RGB: rgb(223, 188, 73) | CMYK: 0%, 16%, 67%, 13% | HSV: 46°, 67%, 87%. Copy any format from the conversion table above.
What colors go well with #DFBC49?
The complementary color is HSL(226, 70%, 58%). 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, 70%, 58%) in CSS?
As HSL: color: hsl(46, 70%, 58%); — As HEX: color: #DFBC49; — As RGB: color: rgb(223, 188, 73); — Tailwind CSS: bg-[hsl(46,70%,58%)] — CSS variable: --color-primary: hsl(46, 70%, 58%);