HSL(46, 34%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,34%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 34%, 54%) | color: hsl(46, 34%, 54%) | |
| HEX | #B29F62 | color: #B29F62 | |
| RGB | rgb(178, 159, 98) | color: rgb(178, 159, 98) | |
| CMYK | cmyk(0%, 11%, 45%, 30%) | — | |
| HSV | hsv(46, 45%, 70%) | — | |
| HWB | hwb(46 39% 30%) | color: hwb(46 39% 30%) | |
| OKLCH | oklch(0.7052 0.0833 92.71) | color: oklch(0.7052 0.0833 92.71) | |
| Lab | lab(65.86 -1.56 34.3) | color: lab(65.86 -1.56 34.3) | |
| LCH | lch(65.86 34.34 92.6) | color: lch(65.86 34.34 92.6) |
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)
#AAAA71 — rgb(170, 170, 113)
Deuteranopia (Green-blind)
#ABAC74 — rgb(171, 172, 116)
Tritanopia (Blue-blind)
#B17C7F — rgb(177, 124, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 34%, 54%);
text
color: hsl(46, 34%, 54%);
border
border: 2px solid hsl(46, 34%, 54%);
gradient light
background: linear-gradient(to right, hsl(46, 34%, 74%), hsl(46, 34%, 54%));
gradient dark
background: linear-gradient(to right, hsl(46, 34%, 54%), hsl(46, 34%, 34%))
hex
background-color: #B29F62;
tailwind
bg-[hsl(46,34%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 34%, 54%, 0.4);
css variable
--color-primary: hsl(46, 34%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 34%, 54%)?
HEX: #B29F62 | RGB: rgb(178, 159, 98) | CMYK: 0%, 11%, 45%, 30% | HSV: 46°, 45%, 70%. Copy any format from the conversion table above.
What colors go well with #B29F62?
The complementary color is HSL(226, 34%, 54%). 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%, 54%) in CSS?
As HSL: color: hsl(46, 34%, 54%); — As HEX: color: #B29F62; — As RGB: color: rgb(178, 159, 98); — Tailwind CSS: bg-[hsl(46,34%,54%)] — CSS variable: --color-primary: hsl(46, 34%, 54%);