HSL(52, 75%, 22%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,75%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 75%, 22%) color: hsl(52, 75%, 22%)
HEX #62570E color: #62570E
RGB rgb(98, 87, 14) color: rgb(98, 87, 14)
CMYK cmyk(0%, 11%, 86%, 62%)
HSV hsv(52, 86%, 38%)
HWB hwb(52 5% 62%) color: hwb(52 5% 62%)
OKLCH oklch(0.4541 0.0883 100.05) color: oklch(0.4541 0.0883 100.05)
Lab lab(36.83 -3.89 40.23) color: lab(36.83 -3.89 40.23)
LCH lch(36.83 40.42 95.52) color: lch(36.83 40.42 95.52)

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

#5D5D20 — rgb(93, 93, 32)

Deuteranopia (Green-blind)

#5E5F24 — rgb(94, 95, 36)

Tritanopia (Blue-blind)

#612E31 — rgb(97, 46, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 75%, 22%);

text

color: hsl(52, 75%, 22%);

border

border: 2px solid hsl(52, 75%, 22%);

gradient light

background: linear-gradient(to right, hsl(52, 75%, 42%), hsl(52, 75%, 22%));

gradient dark

background: linear-gradient(to right, hsl(52, 75%, 22%), hsl(52, 75%, 2%))

hex

background-color: #62570E;

tailwind

bg-[hsl(52,75%,22%)]

box shadow

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

css variable

--color-primary: hsl(52, 75%, 22%);

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, 75%, 22%)?

HEX: #62570E | RGB: rgb(98, 87, 14) | CMYK: 0%, 11%, 86%, 62% | HSV: 52°, 86%, 38%. Copy any format from the conversion table above.

What colors go well with #62570E?

The complementary color is HSL(232, 75%, 22%). 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, 75%, 22%) in CSS?

As HSL: color: hsl(52, 75%, 22%); — As HEX: color: #62570E; — As RGB: color: rgb(98, 87, 14); — Tailwind CSS: bg-[hsl(52,75%,22%)] — CSS variable: --color-primary: hsl(52, 75%, 22%);