HSL(52, 11%, 25%)

Grayish Yellow — Yellow color

Adjust Color

Color Information

Color Name

Grayish Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(52,11%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 11%, 25%) color: hsl(52, 11%, 25%)
HEX #474539 color: #474539
RGB rgb(71, 69, 57) color: rgb(71, 69, 57)
CMYK cmyk(0%, 3%, 20%, 72%)
HSV hsv(51, 20%, 28%)
HWB hwb(51 22% 72%) color: hwb(51 22% 72%)
OKLCH oklch(0.3886 0.0197 99.43) color: oklch(0.3886 0.0197 99.43)
Lab lab(29.14 -1.57 7.57) color: lab(29.14 -1.57 7.57)
LCH lch(29.14 7.73 101.72) color: lch(29.14 7.73 101.72)

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 9.64:1
vs Black 2.18: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)

#46463C — rgb(70, 70, 60)

Deuteranopia (Green-blind)

#46463D — rgb(70, 70, 61)

Tritanopia (Blue-blind)

#473E3F — rgb(71, 62, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 11%, 25%);

text

color: hsl(52, 11%, 25%);

border

border: 2px solid hsl(52, 11%, 25%);

gradient light

background: linear-gradient(to right, hsl(52, 11%, 45%), hsl(52, 11%, 25%));

gradient dark

background: linear-gradient(to right, hsl(52, 11%, 25%), hsl(52, 11%, 5%))

hex

background-color: #474539;

tailwind

bg-[hsl(52,11%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(52, 11%, 25%, 0.4);

css variable

--color-primary: hsl(52, 11%, 25%);

Related Colors

Use Cases for Grayish Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(52, 11%, 25%)?

HEX: #474539 | RGB: rgb(71, 69, 57) | CMYK: 0%, 3%, 20%, 72% | HSV: 51°, 20%, 28%. Copy any format from the conversion table above.

What colors go well with #474539?

The complementary color is HSL(232, 11%, 25%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 11%, 25%) in CSS?

As HSL: color: hsl(52, 11%, 25%); — As HEX: color: #474539; — As RGB: color: rgb(71, 69, 57); — Tailwind CSS: bg-[hsl(52,11%,25%)] — CSS variable: --color-primary: hsl(52, 11%, 25%);