HSL(57, 74%, 21%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(57,74%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(57, 74%, 21%) color: hsl(57, 74%, 21%)
HEX #5D590E color: #5D590E
RGB rgb(93, 89, 14) color: rgb(93, 89, 14)
CMYK cmyk(0%, 4%, 85%, 64%)
HSV hsv(57, 85%, 36%)
HWB hwb(57 5% 64%) color: hwb(57 5% 64%)
OKLCH oklch(0.4538 0.0907 106.26) color: oklch(0.4538 0.0907 106.26)
Lab lab(36.94 -7.55 40.14) color: lab(36.94 -7.55 40.14)
LCH lch(36.94 40.84 100.65) color: lch(36.94 40.84 100.65)

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.24:1
vs Black 2.9: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)

#5B5B20 — rgb(91, 91, 32)

Deuteranopia (Green-blind)

#5C5C25 — rgb(92, 92, 37)

Tritanopia (Blue-blind)

#5D2E32 — rgb(93, 46, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(57, 74%, 21%);

text

color: hsl(57, 74%, 21%);

border

border: 2px solid hsl(57, 74%, 21%);

gradient light

background: linear-gradient(to right, hsl(57, 74%, 41%), hsl(57, 74%, 21%));

gradient dark

background: linear-gradient(to right, hsl(57, 74%, 21%), hsl(57, 74%, 1%))

hex

background-color: #5D590E;

tailwind

bg-[hsl(57,74%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(57, 74%, 21%, 0.4);

css variable

--color-primary: hsl(57, 74%, 21%);

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(57, 74%, 21%)?

HEX: #5D590E | RGB: rgb(93, 89, 14) | CMYK: 0%, 4%, 85%, 64% | HSV: 57°, 85%, 36%. Copy any format from the conversion table above.

What colors go well with #5D590E?

The complementary color is HSL(237, 74%, 21%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(57, 74%, 21%) in CSS?

As HSL: color: hsl(57, 74%, 21%); — As HEX: color: #5D590E; — As RGB: color: rgb(93, 89, 14); — Tailwind CSS: bg-[hsl(57,74%,21%)] — CSS variable: --color-primary: hsl(57, 74%, 21%);