HSL(52, 27%, 29%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,27%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 27%, 29%) color: hsl(52, 27%, 29%)
HEX #5E5936 color: #5E5936
RGB rgb(94, 89, 54) color: rgb(94, 89, 54)
CMYK cmyk(0%, 5%, 43%, 63%)
HSV hsv(53, 43%, 37%)
HWB hwb(53 21% 63%) color: hwb(53 21% 63%)
OKLCH oklch(0.4596 0.0523 101.16) color: oklch(0.4596 0.0523 101.16)
Lab lab(37.46 -3.79 20.98) color: lab(37.46 -3.79 20.98)
LCH lch(37.46 21.32 100.24) color: lch(37.46 21.32 100.24)

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

#5C5C3E — rgb(92, 92, 62)

Deuteranopia (Green-blind)

#5C5D41 — rgb(92, 93, 65)

Tritanopia (Blue-blind)

#5E4547 — rgb(94, 69, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 27%, 29%);

text

color: hsl(52, 27%, 29%);

border

border: 2px solid hsl(52, 27%, 29%);

gradient light

background: linear-gradient(to right, hsl(52, 27%, 49%), hsl(52, 27%, 29%));

gradient dark

background: linear-gradient(to right, hsl(52, 27%, 29%), hsl(52, 27%, 9%))

hex

background-color: #5E5936;

tailwind

bg-[hsl(52,27%,29%)]

box shadow

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

css variable

--color-primary: hsl(52, 27%, 29%);

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, 27%, 29%)?

HEX: #5E5936 | RGB: rgb(94, 89, 54) | CMYK: 0%, 5%, 43%, 63% | HSV: 53°, 43%, 37%. Copy any format from the conversion table above.

What colors go well with #5E5936?

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

As HSL: color: hsl(52, 27%, 29%); — As HEX: color: #5E5936; — As RGB: color: rgb(94, 89, 54); — Tailwind CSS: bg-[hsl(52,27%,29%)] — CSS variable: --color-primary: hsl(52, 27%, 29%);