HSL(46, 80%, 30%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,80%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 80%, 30%) | color: hsl(46, 80%, 30%) | |
| HEX | #8A6D0F | color: #8A6D0F | |
| RGB | rgb(138, 109, 15) | color: rgb(138, 109, 15) | |
| CMYK | cmyk(0%, 21%, 89%, 46%) | — | |
| HSV | hsv(46, 89%, 54%) | — | |
| HWB | hwb(46 6% 46%) | color: hwb(46 6% 46%) | |
| OKLCH | oklch(0.5481 0.1075 89.27) | color: oklch(0.5481 0.1075 89.27) | |
| Lab | lab(47.46 2.74 50.61) | color: lab(47.46 2.74 50.61) | |
| LCH | lch(47.46 50.68 86.9) | color: lch(47.46 50.68 86.9) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#7D7D26 — rgb(125, 125, 38)
Deuteranopia (Green-blind)
#7F812B — rgb(127, 129, 43)
Tritanopia (Blue-blind)
#89383C — rgb(137, 56, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 80%, 30%);
text
color: hsl(46, 80%, 30%);
border
border: 2px solid hsl(46, 80%, 30%);
gradient light
background: linear-gradient(to right, hsl(46, 80%, 50%), hsl(46, 80%, 30%));
gradient dark
background: linear-gradient(to right, hsl(46, 80%, 30%), hsl(46, 80%, 10%))
hex
background-color: #8A6D0F;
tailwind
bg-[hsl(46,80%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 80%, 30%, 0.4);
css variable
--color-primary: hsl(46, 80%, 30%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 80%, 30%)?
HEX: #8A6D0F | RGB: rgb(138, 109, 15) | CMYK: 0%, 21%, 89%, 46% | HSV: 46°, 89%, 54%. Copy any format from the conversion table above.
What colors go well with #8A6D0F?
The complementary color is HSL(226, 80%, 30%). 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%, 30%) in CSS?
As HSL: color: hsl(46, 80%, 30%); — As HEX: color: #8A6D0F; — As RGB: color: rgb(138, 109, 15); — Tailwind CSS: bg-[hsl(46,80%,30%)] — CSS variable: --color-primary: hsl(46, 80%, 30%);