HSL(50, 63%, 66%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(50,63%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(50, 63%, 66%) color: hsl(50, 63%, 66%)
HEX #DFCD72 color: #DFCD72
RGB rgb(223, 205, 114) color: rgb(223, 205, 114)
CMYK cmyk(0%, 8%, 49%, 13%)
HSV hsv(50, 49%, 87%)
HWB hwb(50 44% 13%) color: hwb(50 44% 13%)
OKLCH oklch(0.8442 0.1139 98.39) color: oklch(0.8442 0.1139 98.39)
Lab lab(82.15 -5.63 47.25) color: lab(82.15 -5.63 47.25)
LCH lch(82.15 47.58 96.79) color: lch(82.15 47.58 96.79)

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.6:1
vs Black 13.11: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)

#D7D788 — rgb(215, 215, 136)

Deuteranopia (Green-blind)

#D8DA8D — rgb(216, 218, 141)

Tritanopia (Blue-blind)

#DE999D — rgb(222, 153, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(50, 63%, 66%);

text

color: hsl(50, 63%, 66%);

border

border: 2px solid hsl(50, 63%, 66%);

gradient light

background: linear-gradient(to right, hsl(50, 63%, 86%), hsl(50, 63%, 66%));

gradient dark

background: linear-gradient(to right, hsl(50, 63%, 66%), hsl(50, 63%, 46%))

hex

background-color: #DFCD72;

tailwind

bg-[hsl(50,63%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(50, 63%, 66%, 0.4);

css variable

--color-primary: hsl(50, 63%, 66%);

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(50, 63%, 66%)?

HEX: #DFCD72 | RGB: rgb(223, 205, 114) | CMYK: 0%, 8%, 49%, 13% | HSV: 50°, 49%, 87%. Copy any format from the conversion table above.

What colors go well with #DFCD72?

The complementary color is HSL(230, 63%, 66%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(50, 63%, 66%) in CSS?

As HSL: color: hsl(50, 63%, 66%); — As HEX: color: #DFCD72; — As RGB: color: rgb(223, 205, 114); — Tailwind CSS: bg-[hsl(50,63%,66%)] — CSS variable: --color-primary: hsl(50, 63%, 66%);