HSL(46, 80%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,80%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 80%, 35%) | color: hsl(46, 80%, 35%) | |
| HEX | #A17F12 | color: #A17F12 | |
| RGB | rgb(161, 127, 18) | color: rgb(161, 127, 18) | |
| CMYK | cmyk(0%, 21%, 89%, 37%) | — | |
| HSV | hsv(46, 89%, 63%) | — | |
| HWB | hwb(46 7% 37%) | color: hwb(46 7% 37%) | |
| OKLCH | oklch(0.6122 0.1205 88.9) | color: oklch(0.6122 0.1205 88.9) | |
| Lab | lab(54.87 3.37 56.86) | color: lab(54.87 3.37 56.86) | |
| LCH | lch(54.87 56.96 86.61) | color: lch(54.87 56.96 86.61) |
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)
#92922C — rgb(146, 146, 44)
Deuteranopia (Green-blind)
#949733 — rgb(148, 151, 51)
Tritanopia (Blue-blind)
#9F4146 — rgb(159, 65, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 80%, 35%);
text
color: hsl(46, 80%, 35%);
border
border: 2px solid hsl(46, 80%, 35%);
gradient light
background: linear-gradient(to right, hsl(46, 80%, 55%), hsl(46, 80%, 35%));
gradient dark
background: linear-gradient(to right, hsl(46, 80%, 35%), hsl(46, 80%, 15%))
hex
background-color: #A17F12;
tailwind
bg-[hsl(46,80%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 80%, 35%, 0.4);
css variable
--color-primary: hsl(46, 80%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 80%, 35%)?
HEX: #A17F12 | RGB: rgb(161, 127, 18) | CMYK: 0%, 21%, 89%, 37% | HSV: 46°, 89%, 63%. Copy any format from the conversion table above.
What colors go well with #A17F12?
The complementary color is HSL(226, 80%, 35%). 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%, 35%) in CSS?
As HSL: color: hsl(46, 80%, 35%); — As HEX: color: #A17F12; — As RGB: color: rgb(161, 127, 18); — Tailwind CSS: bg-[hsl(46,80%,35%)] — CSS variable: --color-primary: hsl(46, 80%, 35%);