HSL(54, 30%, 23%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(54,30%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(54, 30%, 23%) color: hsl(54, 30%, 23%)
HEX #4C4929 color: #4C4929
RGB rgb(76, 73, 41) color: rgb(76, 73, 41)
CMYK cmyk(0%, 4%, 46%, 70%)
HSV hsv(55, 46%, 30%)
HWB hwb(55 16% 70%) color: hwb(55 16% 70%)
OKLCH oklch(0.3998 0.0489 103.71) color: oklch(0.3998 0.0489 103.71)
Lab lab(30.55 -4.21 19.58) color: lab(30.55 -4.21 19.58)
LCH lch(30.55 20.03 102.13) color: lch(30.55 20.03 102.13)

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.16:1
vs Black 2.29: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)

#4B4B31 — rgb(75, 75, 49)

Deuteranopia (Green-blind)

#4B4B33 — rgb(75, 75, 51)

Tritanopia (Blue-blind)

#4C3738 — rgb(76, 55, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(54, 30%, 23%);

text

color: hsl(54, 30%, 23%);

border

border: 2px solid hsl(54, 30%, 23%);

gradient light

background: linear-gradient(to right, hsl(54, 30%, 43%), hsl(54, 30%, 23%));

gradient dark

background: linear-gradient(to right, hsl(54, 30%, 23%), hsl(54, 30%, 3%))

hex

background-color: #4C4929;

tailwind

bg-[hsl(54,30%,23%)]

box shadow

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

css variable

--color-primary: hsl(54, 30%, 23%);

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

HEX: #4C4929 | RGB: rgb(76, 73, 41) | CMYK: 0%, 4%, 46%, 70% | HSV: 55°, 46%, 30%. Copy any format from the conversion table above.

What colors go well with #4C4929?

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

As HSL: color: hsl(54, 30%, 23%); — As HEX: color: #4C4929; — As RGB: color: rgb(76, 73, 41); — Tailwind CSS: bg-[hsl(54,30%,23%)] — CSS variable: --color-primary: hsl(54, 30%, 23%);