HSL(52, 63%, 20%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,63%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 63%, 20%) color: hsl(52, 63%, 20%)
HEX #534B13 color: #534B13
RGB rgb(83, 75, 19) color: rgb(83, 75, 19)
CMYK cmyk(0%, 10%, 77%, 67%)
HSV hsv(53, 77%, 33%)
HWB hwb(53 8% 67%) color: hwb(53 8% 67%)
OKLCH oklch(0.4092 0.0745 100.99) color: oklch(0.4092 0.0745 100.99)
Lab lab(31.62 -3.97 32.87) color: lab(31.62 -3.97 32.87)
LCH lch(31.62 33.11 96.89) color: lch(31.62 33.11 96.89)

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 8.81:1
vs Black 2.38: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)

#504F21 — rgb(80, 79, 33)

Deuteranopia (Green-blind)

#505124 — rgb(80, 81, 36)

Tritanopia (Blue-blind)

#532B2E — rgb(83, 43, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 63%, 20%);

text

color: hsl(52, 63%, 20%);

border

border: 2px solid hsl(52, 63%, 20%);

gradient light

background: linear-gradient(to right, hsl(52, 63%, 40%), hsl(52, 63%, 20%));

gradient dark

background: linear-gradient(to right, hsl(52, 63%, 20%), hsl(52, 63%, 0%))

hex

background-color: #534B13;

tailwind

bg-[hsl(52,63%,20%)]

box shadow

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

css variable

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

HEX: #534B13 | RGB: rgb(83, 75, 19) | CMYK: 0%, 10%, 77%, 67% | HSV: 53°, 77%, 33%. Copy any format from the conversion table above.

What colors go well with #534B13?

The complementary color is HSL(232, 63%, 20%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 63%, 20%) in CSS?

As HSL: color: hsl(52, 63%, 20%); — As HEX: color: #534B13; — As RGB: color: rgb(83, 75, 19); — Tailwind CSS: bg-[hsl(52,63%,20%)] — CSS variable: --color-primary: hsl(52, 63%, 20%);