HSL(49, 35%, 72%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(49,35%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 35%, 72%) color: hsl(49, 35%, 72%)
HEX #D1C79F color: #D1C79F
RGB rgb(209, 199, 159) color: rgb(209, 199, 159)
CMYK cmyk(0%, 5%, 24%, 18%)
HSV hsv(48, 24%, 82%)
HWB hwb(48 62% 18%) color: hwb(48 62% 18%)
OKLCH oklch(0.8277 0.0546 95.65) color: oklch(0.8277 0.0546 95.65)
Lab lab(80.13 -2.86 21.33) color: lab(80.13 -2.86 21.33)
LCH lch(80.13 21.52 97.64) color: lch(80.13 21.52 97.64)

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 1.7:1
vs Black 12.38:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#CDCDA9 — rgb(205, 205, 169)

Deuteranopia (Green-blind)

#CDCEAB — rgb(205, 206, 171)

Tritanopia (Blue-blind)

#D1B0B2 — rgb(209, 176, 178)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 35%, 72%);

text

color: hsl(49, 35%, 72%);

border

border: 2px solid hsl(49, 35%, 72%);

gradient light

background: linear-gradient(to right, hsl(49, 35%, 92%), hsl(49, 35%, 72%));

gradient dark

background: linear-gradient(to right, hsl(49, 35%, 72%), hsl(49, 35%, 52%))

hex

background-color: #D1C79F;

tailwind

bg-[hsl(49,35%,72%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(49, 35%, 72%, 0.4);

css variable

--color-primary: hsl(49, 35%, 72%);

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(49, 35%, 72%)?

HEX: #D1C79F | RGB: rgb(209, 199, 159) | CMYK: 0%, 5%, 24%, 18% | HSV: 48°, 24%, 82%. Copy any format from the conversion table above.

What colors go well with #D1C79F?

The complementary color is HSL(229, 35%, 72%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 35%, 72%) in CSS?

As HSL: color: hsl(49, 35%, 72%); — As HEX: color: #D1C79F; — As RGB: color: rgb(209, 199, 159); — Tailwind CSS: bg-[hsl(49,35%,72%)] — CSS variable: --color-primary: hsl(49, 35%, 72%);