HSL(45, 30%, 15%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(45,30%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(45, 30%, 15%) color: hsl(45, 30%, 15%)
HEX #322C1B color: #322C1B
RGB rgb(50, 44, 27) color: rgb(50, 44, 27)
CMYK cmyk(0%, 12%, 46%, 80%)
HSV hsv(44, 46%, 20%)
HWB hwb(44 11% 80%) color: hwb(44 11% 80%)
OKLCH oklch(0.2946 0.0297 90.84) color: oklch(0.2946 0.0297 90.84)
Lab lab(18.18 -0.36 12.04) color: lab(18.18 -0.36 12.04)
LCH lch(18.18 12.05 91.71) color: lch(18.18 12.05 91.71)

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 13.89:1
vs Black 1.51: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)

#2F2F1F — rgb(47, 47, 31)

Deuteranopia (Green-blind)

#303020 — rgb(48, 48, 32)

Tritanopia (Blue-blind)

#322223 — rgb(50, 34, 35)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(45, 30%, 15%);

text

color: hsl(45, 30%, 15%);

border

border: 2px solid hsl(45, 30%, 15%);

gradient light

background: linear-gradient(to right, hsl(45, 30%, 35%), hsl(45, 30%, 15%));

gradient dark

background: linear-gradient(to right, hsl(45, 30%, 15%), hsl(45, 30%, 0%))

hex

background-color: #322C1B;

tailwind

bg-[hsl(45,30%,15%)]

box shadow

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

css variable

--color-primary: hsl(45, 30%, 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(45, 30%, 15%)?

HEX: #322C1B | RGB: rgb(50, 44, 27) | CMYK: 0%, 12%, 46%, 80% | HSV: 44°, 46%, 20%. Copy any format from the conversion table above.

What colors go well with #322C1B?

The complementary color is HSL(225, 30%, 15%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(45, 30%, 15%) in CSS?

As HSL: color: hsl(45, 30%, 15%); — As HEX: color: #322C1B; — As RGB: color: rgb(50, 44, 27); — Tailwind CSS: bg-[hsl(45,30%,15%)] — CSS variable: --color-primary: hsl(45, 30%, 15%);