HSL(64, 79%, 19%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(64,79%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(64, 79%, 19%) color: hsl(64, 79%, 19%)
HEX #52570A color: #52570A
RGB rgb(82, 87, 10) color: rgb(82, 87, 10)
CMYK cmyk(6%, 0%, 89%, 66%)
HSV hsv(64, 89%, 34%)
HWB hwb(64 4% 66%) color: hwb(64 4% 66%)
OKLCH oklch(0.4379 0.0933 113.62) color: oklch(0.4379 0.0933 113.62)
Lab lab(35.27 -11.96 39.53) color: lab(35.27 -11.96 39.53)
LCH lch(35.27 41.3 106.83) color: lch(35.27 41.3 106.83)

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

#54541D — rgb(84, 84, 29)

Deuteranopia (Green-blind)

#545421 — rgb(84, 84, 33)

Tritanopia (Blue-blind)

#522B2F — rgb(82, 43, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(64, 79%, 19%);

text

color: hsl(64, 79%, 19%);

border

border: 2px solid hsl(64, 79%, 19%);

gradient light

background: linear-gradient(to right, hsl(64, 79%, 39%), hsl(64, 79%, 19%));

gradient dark

background: linear-gradient(to right, hsl(64, 79%, 19%), hsl(64, 79%, 0%))

hex

background-color: #52570A;

tailwind

bg-[hsl(64,79%,19%)]

box shadow

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

css variable

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

HEX: #52570A | RGB: rgb(82, 87, 10) | CMYK: 6%, 0%, 89%, 66% | HSV: 64°, 89%, 34%. Copy any format from the conversion table above.

What colors go well with #52570A?

The complementary color is HSL(244, 79%, 19%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(64, 79%, 19%) in CSS?

As HSL: color: hsl(64, 79%, 19%); — As HEX: color: #52570A; — As RGB: color: rgb(82, 87, 10); — Tailwind CSS: bg-[hsl(64,79%,19%)] — CSS variable: --color-primary: hsl(64, 79%, 19%);