HSL(56, 20%, 20%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,20%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 20%, 20%) color: hsl(56, 20%, 20%)
HEX #3D3C29 color: #3D3C29
RGB rgb(61, 60, 41) color: rgb(61, 60, 41)
CMYK cmyk(0%, 2%, 33%, 76%)
HSV hsv(57, 33%, 24%)
HWB hwb(57 16% 76%) color: hwb(57 16% 76%)
OKLCH oklch(0.3515 0.031 105.35) color: oklch(0.3515 0.031 105.35)
Lab lab(24.9 -3.25 11.94) color: lab(24.9 -3.25 11.94)
LCH lch(24.9 12.37 105.23) color: lch(24.9 12.37 105.23)

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 11.19:1
vs Black 1.88: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)

#3D3D2E — rgb(61, 61, 46)

Deuteranopia (Green-blind)

#3D3D2F — rgb(61, 61, 47)

Tritanopia (Blue-blind)

#3D3132 — rgb(61, 49, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 20%, 20%);

text

color: hsl(56, 20%, 20%);

border

border: 2px solid hsl(56, 20%, 20%);

gradient light

background: linear-gradient(to right, hsl(56, 20%, 40%), hsl(56, 20%, 20%));

gradient dark

background: linear-gradient(to right, hsl(56, 20%, 20%), hsl(56, 20%, 0%))

hex

background-color: #3D3C29;

tailwind

bg-[hsl(56,20%,20%)]

box shadow

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

css variable

--color-primary: hsl(56, 20%, 20%);

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(56, 20%, 20%)?

HEX: #3D3C29 | RGB: rgb(61, 60, 41) | CMYK: 0%, 2%, 33%, 76% | HSV: 57°, 33%, 24%. Copy any format from the conversion table above.

What colors go well with #3D3C29?

The complementary color is HSL(236, 20%, 20%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 20%, 20%) in CSS?

As HSL: color: hsl(56, 20%, 20%); — As HEX: color: #3D3C29; — As RGB: color: rgb(61, 60, 41); — Tailwind CSS: bg-[hsl(56,20%,20%)] — CSS variable: --color-primary: hsl(56, 20%, 20%);