HSL(55, 52%, 15%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,52%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 52%, 15%) color: hsl(55, 52%, 15%)
HEX #3A3712 color: #3A3712
RGB rgb(58, 55, 18) color: rgb(58, 55, 18)
CMYK cmyk(0%, 5%, 69%, 77%)
HSV hsv(56, 69%, 23%)
HWB hwb(56 7% 77%) color: hwb(56 7% 77%)
OKLCH oklch(0.331 0.0549 104.66) color: oklch(0.331 0.0549 104.66)
Lab lab(22.57 -4.45 23.11) color: lab(22.57 -4.45 23.11)
LCH lch(22.57 23.53 100.9) color: lch(22.57 23.53 100.9)

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 12.1:1
vs Black 1.74: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)

#39391B — rgb(57, 57, 27)

Deuteranopia (Green-blind)

#39391D — rgb(57, 57, 29)

Tritanopia (Blue-blind)

#3A2224 — rgb(58, 34, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 52%, 15%);

text

color: hsl(55, 52%, 15%);

border

border: 2px solid hsl(55, 52%, 15%);

gradient light

background: linear-gradient(to right, hsl(55, 52%, 35%), hsl(55, 52%, 15%));

gradient dark

background: linear-gradient(to right, hsl(55, 52%, 15%), hsl(55, 52%, 0%))

hex

background-color: #3A3712;

tailwind

bg-[hsl(55,52%,15%)]

box shadow

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

css variable

--color-primary: hsl(55, 52%, 15%);

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(55, 52%, 15%)?

HEX: #3A3712 | RGB: rgb(58, 55, 18) | CMYK: 0%, 5%, 69%, 77% | HSV: 56°, 69%, 23%. Copy any format from the conversion table above.

What colors go well with #3A3712?

The complementary color is HSL(235, 52%, 15%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 52%, 15%) in CSS?

As HSL: color: hsl(55, 52%, 15%); — As HEX: color: #3A3712; — As RGB: color: rgb(58, 55, 18); — Tailwind CSS: bg-[hsl(55,52%,15%)] — CSS variable: --color-primary: hsl(55, 52%, 15%);