HSL(45, 50%, 19%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(45,50%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(45, 50%, 19%) color: hsl(45, 50%, 19%)
HEX #493D18 color: #493D18
RGB rgb(73, 61, 24) color: rgb(73, 61, 24)
CMYK cmyk(0%, 16%, 67%, 71%)
HSV hsv(45, 67%, 29%)
HWB hwb(45 10% 71%) color: hwb(45 10% 71%)
OKLCH oklch(0.364 0.0562 91.43) color: oklch(0.364 0.0562 91.43)
Lab lab(26.22 0 24.28) color: lab(26.22 0 24.28)
LCH lch(26.22 24.28 90) color: lch(26.22 24.28 90)

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 10.69:1
vs Black 1.96: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)

#444421 — rgb(68, 68, 33)

Deuteranopia (Green-blind)

#454523 — rgb(69, 69, 35)

Tritanopia (Blue-blind)

#48282A — rgb(72, 40, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(45, 50%, 19%);

text

color: hsl(45, 50%, 19%);

border

border: 2px solid hsl(45, 50%, 19%);

gradient light

background: linear-gradient(to right, hsl(45, 50%, 39%), hsl(45, 50%, 19%));

gradient dark

background: linear-gradient(to right, hsl(45, 50%, 19%), hsl(45, 50%, 0%))

hex

background-color: #493D18;

tailwind

bg-[hsl(45,50%,19%)]

box shadow

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

css variable

--color-primary: hsl(45, 50%, 19%);

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, 50%, 19%)?

HEX: #493D18 | RGB: rgb(73, 61, 24) | CMYK: 0%, 16%, 67%, 71% | HSV: 45°, 67%, 29%. Copy any format from the conversion table above.

What colors go well with #493D18?

The complementary color is HSL(225, 50%, 19%). 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, 50%, 19%) in CSS?

As HSL: color: hsl(45, 50%, 19%); — As HEX: color: #493D18; — As RGB: color: rgb(73, 61, 24); — Tailwind CSS: bg-[hsl(45,50%,19%)] — CSS variable: --color-primary: hsl(45, 50%, 19%);