HSL(55, 22%, 26%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,22%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 22%, 26%) color: hsl(55, 22%, 26%)
HEX #514E34 color: #514E34
RGB rgb(81, 78, 52) color: rgb(81, 78, 52)
CMYK cmyk(0%, 4%, 36%, 68%)
HSV hsv(54, 36%, 32%)
HWB hwb(54 20% 68%) color: hwb(54 20% 68%)
OKLCH oklch(0.4195 0.0404 102.38) color: oklch(0.4195 0.0404 102.38)
Lab lab(32.8 -3.42 15.87) color: lab(32.8 -3.42 15.87)
LCH lch(32.8 16.23 102.16) color: lch(32.8 16.23 102.16)

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

#50503A — rgb(80, 80, 58)

Deuteranopia (Green-blind)

#50503C — rgb(80, 80, 60)

Tritanopia (Blue-blind)

#513F40 — rgb(81, 63, 64)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 22%, 26%);

text

color: hsl(55, 22%, 26%);

border

border: 2px solid hsl(55, 22%, 26%);

gradient light

background: linear-gradient(to right, hsl(55, 22%, 46%), hsl(55, 22%, 26%));

gradient dark

background: linear-gradient(to right, hsl(55, 22%, 26%), hsl(55, 22%, 6%))

hex

background-color: #514E34;

tailwind

bg-[hsl(55,22%,26%)]

box shadow

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

css variable

--color-primary: hsl(55, 22%, 26%);

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(55, 22%, 26%)?

HEX: #514E34 | RGB: rgb(81, 78, 52) | CMYK: 0%, 4%, 36%, 68% | HSV: 54°, 36%, 32%. Copy any format from the conversion table above.

What colors go well with #514E34?

The complementary color is HSL(235, 22%, 26%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 22%, 26%) in CSS?

As HSL: color: hsl(55, 22%, 26%); — As HEX: color: #514E34; — As RGB: color: rgb(81, 78, 52); — Tailwind CSS: bg-[hsl(55,22%,26%)] — CSS variable: --color-primary: hsl(55, 22%, 26%);