HSL(56, 73%, 30%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,73%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 73%, 30%) color: hsl(56, 73%, 30%)
HEX #847D15 color: #847D15
RGB rgb(132, 125, 21) color: rgb(132, 125, 21)
CMYK cmyk(0%, 5%, 84%, 48%)
HSV hsv(56, 84%, 52%)
HWB hwb(56 8% 48%) color: hwb(56 8% 48%)
OKLCH oklch(0.5781 0.1163 105.34) color: oklch(0.5781 0.1163 105.34)
Lab lab(51.41 -8.94 52.02) color: lab(51.41 -8.94 52.02)
LCH lch(51.41 52.78 99.75) color: lch(51.41 52.78 99.75)

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 4.26:1
vs Black 4.93: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)

#81812E — rgb(129, 129, 46)

Deuteranopia (Green-blind)

#818234 — rgb(129, 130, 52)

Tritanopia (Blue-blind)

#844246 — rgb(132, 66, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 73%, 30%);

text

color: hsl(56, 73%, 30%);

border

border: 2px solid hsl(56, 73%, 30%);

gradient light

background: linear-gradient(to right, hsl(56, 73%, 50%), hsl(56, 73%, 30%));

gradient dark

background: linear-gradient(to right, hsl(56, 73%, 30%), hsl(56, 73%, 10%))

hex

background-color: #847D15;

tailwind

bg-[hsl(56,73%,30%)]

box shadow

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

css variable

--color-primary: hsl(56, 73%, 30%);

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, 73%, 30%)?

HEX: #847D15 | RGB: rgb(132, 125, 21) | CMYK: 0%, 5%, 84%, 48% | HSV: 56°, 84%, 52%. Copy any format from the conversion table above.

What colors go well with #847D15?

The complementary color is HSL(236, 73%, 30%). 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, 73%, 30%) in CSS?

As HSL: color: hsl(56, 73%, 30%); — As HEX: color: #847D15; — As RGB: color: rgb(132, 125, 21); — Tailwind CSS: bg-[hsl(56,73%,30%)] — CSS variable: --color-primary: hsl(56, 73%, 30%);