HSL(54, 79%, 17%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(54,79%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(54, 79%, 17%) color: hsl(54, 79%, 17%)
HEX #4E4709 color: #4E4709
RGB rgb(78, 71, 9) color: rgb(78, 71, 9)
CMYK cmyk(0%, 9%, 88%, 69%)
HSV hsv(54, 88%, 31%)
HWB hwb(54 4% 69%) color: hwb(54 4% 69%)
OKLCH oklch(0.3931 0.0774 102.46) color: oklch(0.3931 0.0774 102.46)
Lab lab(29.78 -4.58 34.95) color: lab(29.78 -4.58 34.95)
LCH lch(29.78 35.25 97.47) color: lch(29.78 35.25 97.47)

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

#4B4B18 — rgb(75, 75, 24)

Deuteranopia (Green-blind)

#4B4C1C — rgb(75, 76, 28)

Tritanopia (Blue-blind)

#4E2426 — rgb(78, 36, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(54, 79%, 17%);

text

color: hsl(54, 79%, 17%);

border

border: 2px solid hsl(54, 79%, 17%);

gradient light

background: linear-gradient(to right, hsl(54, 79%, 37%), hsl(54, 79%, 17%));

gradient dark

background: linear-gradient(to right, hsl(54, 79%, 17%), hsl(54, 79%, 0%))

hex

background-color: #4E4709;

tailwind

bg-[hsl(54,79%,17%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(54, 79%, 17%, 0.4);

css variable

--color-primary: hsl(54, 79%, 17%);

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(54, 79%, 17%)?

HEX: #4E4709 | RGB: rgb(78, 71, 9) | CMYK: 0%, 9%, 88%, 69% | HSV: 54°, 88%, 31%. Copy any format from the conversion table above.

What colors go well with #4E4709?

The complementary color is HSL(234, 79%, 17%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(54, 79%, 17%) in CSS?

As HSL: color: hsl(54, 79%, 17%); — As HEX: color: #4E4709; — As RGB: color: rgb(78, 71, 9); — Tailwind CSS: bg-[hsl(54,79%,17%)] — CSS variable: --color-primary: hsl(54, 79%, 17%);