HSL(47, 80%, 18%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(47,80%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(47, 80%, 18%) color: hsl(47, 80%, 18%)
HEX #534309 color: #534309
RGB rgb(83, 67, 9) color: rgb(83, 67, 9)
CMYK cmyk(0%, 19%, 89%, 67%)
HSV hsv(47, 89%, 33%)
HWB hwb(47 4% 67%) color: hwb(47 4% 67%)
OKLCH oklch(0.3889 0.0745 92.08) color: oklch(0.3889 0.0745 92.08)
Lab lab(29.09 0.48 34.56) color: lab(29.09 0.48 34.56)
LCH lch(29.09 34.56 89.2) color: lch(29.09 34.56 89.2)

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 9.66:1
vs Black 2.17: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)

#4C4C17 — rgb(76, 76, 23)

Deuteranopia (Green-blind)

#4D4E1A — rgb(77, 78, 26)

Tritanopia (Blue-blind)

#522225 — rgb(82, 34, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(47, 80%, 18%);

text

color: hsl(47, 80%, 18%);

border

border: 2px solid hsl(47, 80%, 18%);

gradient light

background: linear-gradient(to right, hsl(47, 80%, 38%), hsl(47, 80%, 18%));

gradient dark

background: linear-gradient(to right, hsl(47, 80%, 18%), hsl(47, 80%, 0%))

hex

background-color: #534309;

tailwind

bg-[hsl(47,80%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(47, 80%, 18%, 0.4);

css variable

--color-primary: hsl(47, 80%, 18%);

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(47, 80%, 18%)?

HEX: #534309 | RGB: rgb(83, 67, 9) | CMYK: 0%, 19%, 89%, 67% | HSV: 47°, 89%, 33%. Copy any format from the conversion table above.

What colors go well with #534309?

The complementary color is HSL(227, 80%, 18%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(47, 80%, 18%) in CSS?

As HSL: color: hsl(47, 80%, 18%); — As HEX: color: #534309; — As RGB: color: rgb(83, 67, 9); — Tailwind CSS: bg-[hsl(47,80%,18%)] — CSS variable: --color-primary: hsl(47, 80%, 18%);