HSL(60, 90%, 19%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

3500K

CSS Class

bg-[hsl(60,90%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(60, 90%, 19%) color: hsl(60, 90%, 19%)
HEX #5C5C05 color: #5C5C05
RGB rgb(92, 92, 5) color: rgb(92, 92, 5)
CMYK cmyk(0%, 0%, 95%, 64%)
HSV hsv(60, 95%, 36%)
HWB hwb(60 2% 64%) color: hwb(60 2% 64%)
OKLCH oklch(0.4598 0.098 109.71) color: oklch(0.4598 0.098 109.71)
Lab lab(37.74 -10.07 43.39) color: lab(37.74 -10.07 43.39)
LCH lch(37.74 44.54 103.07) color: lch(37.74 44.54 103.07)

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.03:1
vs Black 2.99: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)

#5C5C1A — rgb(92, 92, 26)

Deuteranopia (Green-blind)

#5C5C1F — rgb(92, 92, 31)

Tritanopia (Blue-blind)

#5C2B2E — rgb(92, 43, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(60, 90%, 19%);

text

color: hsl(60, 90%, 19%);

border

border: 2px solid hsl(60, 90%, 19%);

gradient light

background: linear-gradient(to right, hsl(60, 90%, 39%), hsl(60, 90%, 19%));

gradient dark

background: linear-gradient(to right, hsl(60, 90%, 19%), hsl(60, 90%, 0%))

hex

background-color: #5C5C05;

tailwind

bg-[hsl(60,90%,19%)]

box shadow

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

css variable

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

HEX: #5C5C05 | RGB: rgb(92, 92, 5) | CMYK: 0%, 0%, 95%, 64% | HSV: 60°, 95%, 36%. Copy any format from the conversion table above.

What colors go well with #5C5C05?

The complementary color is HSL(240, 90%, 19%). For a triadic harmony, use hues 60°, 180°, and 300°. For analogous combinations, try hues 30° and 90°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(60, 90%, 19%) in CSS?

As HSL: color: hsl(60, 90%, 19%); — As HEX: color: #5C5C05; — As RGB: color: rgb(92, 92, 5); — Tailwind CSS: bg-[hsl(60,90%,19%)] — CSS variable: --color-primary: hsl(60, 90%, 19%);