HSL(46, 80%, 41%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,80%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 80%, 41%) | color: hsl(46, 80%, 41%) | |
| HEX | #BC9515 | color: #BC9515 | |
| RGB | rgb(188, 149, 21) | color: rgb(188, 149, 21) | |
| CMYK | cmyk(0%, 21%, 89%, 26%) | — | |
| HSV | hsv(46, 89%, 74%) | — | |
| HWB | hwb(46 8% 26%) | color: hwb(46 8% 26%) | |
| OKLCH | oklch(0.6871 0.1359 89.17) | color: oklch(0.6871 0.1359 89.17) | |
| Lab | lab(63.54 3.61 64.27) | color: lab(63.54 3.61 64.27) | |
| LCH | lch(63.54 64.37 86.79) | color: lch(63.54 64.37 86.79) |
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)
#ABAB34 — rgb(171, 171, 52)
Deuteranopia (Green-blind)
#ADB03B — rgb(173, 176, 59)
Tritanopia (Blue-blind)
#BA4C52 — rgb(186, 76, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 80%, 41%);
text
color: hsl(46, 80%, 41%);
border
border: 2px solid hsl(46, 80%, 41%);
gradient light
background: linear-gradient(to right, hsl(46, 80%, 61%), hsl(46, 80%, 41%));
gradient dark
background: linear-gradient(to right, hsl(46, 80%, 41%), hsl(46, 80%, 21%))
hex
background-color: #BC9515;
tailwind
bg-[hsl(46,80%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 80%, 41%, 0.4);
css variable
--color-primary: hsl(46, 80%, 41%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 80%, 41%)?
HEX: #BC9515 | RGB: rgb(188, 149, 21) | CMYK: 0%, 21%, 89%, 26% | HSV: 46°, 89%, 74%. Copy any format from the conversion table above.
What colors go well with #BC9515?
The complementary color is HSL(226, 80%, 41%). 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, 80%, 41%) in CSS?
As HSL: color: hsl(46, 80%, 41%); — As HEX: color: #BC9515; — As RGB: color: rgb(188, 149, 21); — Tailwind CSS: bg-[hsl(46,80%,41%)] — CSS variable: --color-primary: hsl(46, 80%, 41%);