HSL(46, 34%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,34%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 34%, 50%) | color: hsl(46, 34%, 50%) | |
| HEX | #AB9754 | color: #AB9754 | |
| RGB | rgb(171, 151, 84) | color: rgb(171, 151, 84) | |
| CMYK | cmyk(0%, 12%, 51%, 33%) | — | |
| HSV | hsv(46, 51%, 67%) | — | |
| HWB | hwb(46 33% 33%) | color: hwb(46 33% 33%) | |
| OKLCH | oklch(0.6794 0.0902 93.21) | color: oklch(0.6794 0.0902 93.21) | |
| Lab | lab(62.87 -1.57 37.75) | color: lab(62.87 -1.57 37.75) | |
| LCH | lch(62.87 37.78 92.38) | color: lch(62.87 37.78 92.38) |
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)
#A2A264 — rgb(162, 162, 100)
Deuteranopia (Green-blind)
#A4A568 — rgb(164, 165, 104)
Tritanopia (Blue-blind)
#AA7174 — rgb(170, 113, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 34%, 50%);
text
color: hsl(46, 34%, 50%);
border
border: 2px solid hsl(46, 34%, 50%);
gradient light
background: linear-gradient(to right, hsl(46, 34%, 70%), hsl(46, 34%, 50%));
gradient dark
background: linear-gradient(to right, hsl(46, 34%, 50%), hsl(46, 34%, 30%))
hex
background-color: #AB9754;
tailwind
bg-[hsl(46,34%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 34%, 50%, 0.4);
css variable
--color-primary: hsl(46, 34%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 34%, 50%)?
HEX: #AB9754 | RGB: rgb(171, 151, 84) | CMYK: 0%, 12%, 51%, 33% | HSV: 46°, 51%, 67%. Copy any format from the conversion table above.
What colors go well with #AB9754?
The complementary color is HSL(226, 34%, 50%). 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, 34%, 50%) in CSS?
As HSL: color: hsl(46, 34%, 50%); — As HEX: color: #AB9754; — As RGB: color: rgb(171, 151, 84); — Tailwind CSS: bg-[hsl(46,34%,50%)] — CSS variable: --color-primary: hsl(46, 34%, 50%);