HSL(48, 20%, 38%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(48,20%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(48, 20%, 38%) color: hsl(48, 20%, 38%)
HEX #746D4E color: #746D4E
RGB rgb(116, 109, 78) color: rgb(116, 109, 78)
CMYK cmyk(0%, 6%, 33%, 55%)
HSV hsv(49, 33%, 45%)
HWB hwb(49 30% 55%) color: hwb(49 30% 55%)
OKLCH oklch(0.5328 0.0463 96.92) color: oklch(0.5328 0.0463 96.92)
Lab lab(45.91 -2.49 18.34) color: lab(45.91 -2.49 18.34)
LCH lch(45.91 18.51 97.73) color: lch(45.91 18.51 97.73)

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 5.2:1
vs Black 4.04:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#717156 — rgb(113, 113, 86)

Deuteranopia (Green-blind)

#717257 — rgb(113, 114, 87)

Tritanopia (Blue-blind)

#745B5D — rgb(116, 91, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(48, 20%, 38%);

text

color: hsl(48, 20%, 38%);

border

border: 2px solid hsl(48, 20%, 38%);

gradient light

background: linear-gradient(to right, hsl(48, 20%, 58%), hsl(48, 20%, 38%));

gradient dark

background: linear-gradient(to right, hsl(48, 20%, 38%), hsl(48, 20%, 18%))

hex

background-color: #746D4E;

tailwind

bg-[hsl(48,20%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(48, 20%, 38%, 0.4);

css variable

--color-primary: hsl(48, 20%, 38%);

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(48, 20%, 38%)?

HEX: #746D4E | RGB: rgb(116, 109, 78) | CMYK: 0%, 6%, 33%, 55% | HSV: 49°, 33%, 45%. Copy any format from the conversion table above.

What colors go well with #746D4E?

The complementary color is HSL(228, 20%, 38%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(48, 20%, 38%) in CSS?

As HSL: color: hsl(48, 20%, 38%); — As HEX: color: #746D4E; — As RGB: color: rgb(116, 109, 78); — Tailwind CSS: bg-[hsl(48,20%,38%)] — CSS variable: --color-primary: hsl(48, 20%, 38%);