HSL(55, 22%, 24%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,22%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 22%, 24%) color: hsl(55, 22%, 24%)
HEX #4B4830 color: #4B4830
RGB rgb(75, 72, 48) color: rgb(75, 72, 48)
CMYK cmyk(0%, 4%, 36%, 71%)
HSV hsv(53, 36%, 29%)
HWB hwb(53 19% 71%) color: hwb(53 19% 71%)
OKLCH oklch(0.3977 0.0379 101.9) color: oklch(0.3977 0.0379 101.9)
Lab lab(30.26 -3.11 14.89) color: lab(30.26 -3.11 14.89)
LCH lch(30.26 15.21 101.8) color: lch(30.26 15.21 101.8)

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.26:1
vs Black 2.27: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)

#4A4A36 — rgb(74, 74, 54)

Deuteranopia (Green-blind)

#4A4A37 — rgb(74, 74, 55)

Tritanopia (Blue-blind)

#4B3A3B — rgb(75, 58, 59)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 22%, 24%);

text

color: hsl(55, 22%, 24%);

border

border: 2px solid hsl(55, 22%, 24%);

gradient light

background: linear-gradient(to right, hsl(55, 22%, 44%), hsl(55, 22%, 24%));

gradient dark

background: linear-gradient(to right, hsl(55, 22%, 24%), hsl(55, 22%, 4%))

hex

background-color: #4B4830;

tailwind

bg-[hsl(55,22%,24%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(55, 22%, 24%, 0.4);

css variable

--color-primary: hsl(55, 22%, 24%);

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(55, 22%, 24%)?

HEX: #4B4830 | RGB: rgb(75, 72, 48) | CMYK: 0%, 4%, 36%, 71% | HSV: 53°, 36%, 29%. Copy any format from the conversion table above.

What colors go well with #4B4830?

The complementary color is HSL(235, 22%, 24%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 22%, 24%) in CSS?

As HSL: color: hsl(55, 22%, 24%); — As HEX: color: #4B4830; — As RGB: color: rgb(75, 72, 48); — Tailwind CSS: bg-[hsl(55,22%,24%)] — CSS variable: --color-primary: hsl(55, 22%, 24%);