HSL(50, 90%, 20%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(50,90%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(50, 90%, 20%) color: hsl(50, 90%, 20%)
HEX #615205 color: #615205
RGB rgb(97, 82, 5) color: rgb(97, 82, 5)
CMYK cmyk(0%, 15%, 95%, 62%)
HSV hsv(50, 95%, 38%)
HWB hwb(50 2% 62%) color: hwb(50 2% 62%)
OKLCH oklch(0.4406 0.0885 96.48) color: oklch(0.4406 0.0885 96.48)
Lab lab(35.18 -1.7 41.59) color: lab(35.18 -1.7 41.59)
LCH lch(35.18 41.62 92.34) color: lch(35.18 41.62 92.34)

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 7.73:1
vs Black 2.72: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)

#5B5A18 — rgb(91, 90, 24)

Deuteranopia (Green-blind)

#5B5D1C — rgb(91, 93, 28)

Tritanopia (Blue-blind)

#60262A — rgb(96, 38, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(50, 90%, 20%);

text

color: hsl(50, 90%, 20%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #615205;

tailwind

bg-[hsl(50,90%,20%)]

box shadow

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

css variable

--color-primary: hsl(50, 90%, 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(50, 90%, 20%)?

HEX: #615205 | RGB: rgb(97, 82, 5) | CMYK: 0%, 15%, 95%, 62% | HSV: 50°, 95%, 38%. Copy any format from the conversion table above.

What colors go well with #615205?

The complementary color is HSL(230, 90%, 20%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(50, 90%, 20%); — As HEX: color: #615205; — As RGB: color: rgb(97, 82, 5); — Tailwind CSS: bg-[hsl(50,90%,20%)] — CSS variable: --color-primary: hsl(50, 90%, 20%);