HSL(46, 41%, 46%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,41%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 41%, 46%) color: hsl(46, 41%, 46%)
HEX #A58F45 color: #A58F45
RGB rgb(165, 143, 69) color: rgb(165, 143, 69)
CMYK cmyk(0%, 13%, 58%, 35%)
HSV hsv(46, 58%, 65%)
HWB hwb(46 27% 35%) color: hwb(46 27% 35%)
OKLCH oklch(0.6545 0.0976 92.99) color: oklch(0.6545 0.0976 92.99)
Lab lab(59.96 -1.11 41.77) color: lab(59.96 -1.11 41.77)
LCH lch(59.96 41.78 91.52) color: lch(59.96 41.78 91.52)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.17:1
vs Black 6.61:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9B9B57 — rgb(155, 155, 87)

Deuteranopia (Green-blind)

#9D9E5B — rgb(157, 158, 91)

Tritanopia (Blue-blind)

#A46568 — rgb(164, 101, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 41%, 46%);

text

color: hsl(46, 41%, 46%);

border

border: 2px solid hsl(46, 41%, 46%);

gradient light

background: linear-gradient(to right, hsl(46, 41%, 66%), hsl(46, 41%, 46%));

gradient dark

background: linear-gradient(to right, hsl(46, 41%, 46%), hsl(46, 41%, 26%))

hex

background-color: #A58F45;

tailwind

bg-[hsl(46,41%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(46, 41%, 46%, 0.4);

css variable

--color-primary: hsl(46, 41%, 46%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(46, 41%, 46%)?

HEX: #A58F45 | RGB: rgb(165, 143, 69) | CMYK: 0%, 13%, 58%, 35% | HSV: 46°, 58%, 65%. Copy any format from the conversion table above.

What colors go well with #A58F45?

The complementary color is HSL(226, 41%, 46%). 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, 41%, 46%) in CSS?

As HSL: color: hsl(46, 41%, 46%); — As HEX: color: #A58F45; — As RGB: color: rgb(165, 143, 69); — Tailwind CSS: bg-[hsl(46,41%,46%)] — CSS variable: --color-primary: hsl(46, 41%, 46%);