HSL(56, 59%, 34%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,59%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 59%, 34%) color: hsl(56, 59%, 34%)
HEX #8A8324 color: #8A8324
RGB rgb(138, 131, 36) color: rgb(138, 131, 36)
CMYK cmyk(0%, 5%, 74%, 46%)
HSV hsv(56, 74%, 54%)
HWB hwb(56 14% 46%) color: hwb(56 14% 46%)
OKLCH oklch(0.5985 0.113 105.08) color: oklch(0.5985 0.113 105.08)
Lab lab(53.78 -8.83 49.29) color: lab(53.78 -8.83 49.29)
LCH lch(53.78 50.07 100.16) color: lch(53.78 50.07 100.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 3.92:1
vs Black 5.35:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#87873B — rgb(135, 135, 59)

Deuteranopia (Green-blind)

#878841 — rgb(135, 136, 65)

Tritanopia (Blue-blind)

#8A4D51 — rgb(138, 77, 81)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 59%, 34%);

text

color: hsl(56, 59%, 34%);

border

border: 2px solid hsl(56, 59%, 34%);

gradient light

background: linear-gradient(to right, hsl(56, 59%, 54%), hsl(56, 59%, 34%));

gradient dark

background: linear-gradient(to right, hsl(56, 59%, 34%), hsl(56, 59%, 14%))

hex

background-color: #8A8324;

tailwind

bg-[hsl(56,59%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 59%, 34%, 0.4);

css variable

--color-primary: hsl(56, 59%, 34%);

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(56, 59%, 34%)?

HEX: #8A8324 | RGB: rgb(138, 131, 36) | CMYK: 0%, 5%, 74%, 46% | HSV: 56°, 74%, 54%. Copy any format from the conversion table above.

What colors go well with #8A8324?

The complementary color is HSL(236, 59%, 34%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 59%, 34%) in CSS?

As HSL: color: hsl(56, 59%, 34%); — As HEX: color: #8A8324; — As RGB: color: rgb(138, 131, 36); — Tailwind CSS: bg-[hsl(56,59%,34%)] — CSS variable: --color-primary: hsl(56, 59%, 34%);