HSL(46, 40%, 41%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(46, 40%, 41%) color: hsl(46, 40%, 41%)
HEX #927F3F color: #927F3F
RGB rgb(146, 127, 63) color: rgb(146, 127, 63)
CMYK cmyk(0%, 13%, 57%, 43%)
HSV hsv(46, 57%, 57%)
HWB hwb(46 25% 43%) color: hwb(46 25% 43%)
OKLCH oklch(0.6001 0.087 93.1) color: oklch(0.6001 0.087 93.1)
Lab lab(53.65 -1.15 37) color: lab(53.65 -1.15 37)
LCH lch(53.65 37.02 91.78) color: lch(53.65 37.02 91.78)

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.94:1
vs Black 5.33: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)

#8A8A4E — rgb(138, 138, 78)

Deuteranopia (Green-blind)

#8B8C52 — rgb(139, 140, 82)

Tritanopia (Blue-blind)

#915B5D — rgb(145, 91, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #927F3F;

tailwind

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

box shadow

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

css variable

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

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, 40%, 41%)?

HEX: #927F3F | RGB: rgb(146, 127, 63) | CMYK: 0%, 13%, 57%, 43% | HSV: 46°, 57%, 57%. Copy any format from the conversion table above.

What colors go well with #927F3F?

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

As HSL: color: hsl(46, 40%, 41%); — As HEX: color: #927F3F; — As RGB: color: rgb(146, 127, 63); — Tailwind CSS: bg-[hsl(46,40%,41%)] — CSS variable: --color-primary: hsl(46, 40%, 41%);