HSL(46, 16%, 27%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(46,16%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 16%, 27%) color: hsl(46, 16%, 27%)
HEX #504B3A color: #504B3A
RGB rgb(80, 75, 58) color: rgb(80, 75, 58)
CMYK cmyk(0%, 6%, 28%, 69%)
HSV hsv(46, 28%, 31%)
HWB hwb(46 22% 69%) color: hwb(46 22% 69%)
OKLCH oklch(0.4126 0.0278 93.61) color: oklch(0.4126 0.0278 93.61)
Lab lab(31.91 -1.1 10.91) color: lab(31.91 -1.1 10.91)
LCH lch(31.91 10.97 95.76) color: lch(31.91 10.97 95.76)

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 8.72:1
vs Black 2.41:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4E4E3E — rgb(78, 78, 62)

Deuteranopia (Green-blind)

#4E4F3F — rgb(78, 79, 63)

Tritanopia (Blue-blind)

#504142 — rgb(80, 65, 66)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 16%, 27%);

text

color: hsl(46, 16%, 27%);

border

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

gradient light

background: linear-gradient(to right, hsl(46, 16%, 47%), hsl(46, 16%, 27%));

gradient dark

background: linear-gradient(to right, hsl(46, 16%, 27%), hsl(46, 16%, 7%))

hex

background-color: #504B3A;

tailwind

bg-[hsl(46,16%,27%)]

box shadow

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

css variable

--color-primary: hsl(46, 16%, 27%);

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, 16%, 27%)?

HEX: #504B3A | RGB: rgb(80, 75, 58) | CMYK: 0%, 6%, 28%, 69% | HSV: 46°, 28%, 31%. Copy any format from the conversion table above.

What colors go well with #504B3A?

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

As HSL: color: hsl(46, 16%, 27%); — As HEX: color: #504B3A; — As RGB: color: rgb(80, 75, 58); — Tailwind CSS: bg-[hsl(46,16%,27%)] — CSS variable: --color-primary: hsl(46, 16%, 27%);