HSL(56, 68%, 53%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,68%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 68%, 53%) color: hsl(56, 68%, 53%)
HEX #D9CE36 color: #D9CE36
RGB rgb(217, 206, 54) color: rgb(217, 206, 54)
CMYK cmyk(0%, 5%, 75%, 15%)
HSV hsv(56, 75%, 85%)
HWB hwb(56 21% 15%) color: hwb(56 21% 15%)
OKLCH oklch(0.8352 0.1621 105.12) color: oklch(0.8352 0.1621 105.12)
Lab lab(81.38 -12.51 71.47) color: lab(81.38 -12.51 71.47)
LCH lch(81.38 72.56 99.93) color: lch(81.38 72.56 99.93)

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.64:1
vs Black 12.83: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)

#D4D45B — rgb(212, 212, 91)

Deuteranopia (Green-blind)

#D5D664 — rgb(213, 214, 100)

Tritanopia (Blue-blind)

#D8787E — rgb(216, 120, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 68%, 53%);

text

color: hsl(56, 68%, 53%);

border

border: 2px solid hsl(56, 68%, 53%);

gradient light

background: linear-gradient(to right, hsl(56, 68%, 73%), hsl(56, 68%, 53%));

gradient dark

background: linear-gradient(to right, hsl(56, 68%, 53%), hsl(56, 68%, 33%))

hex

background-color: #D9CE36;

tailwind

bg-[hsl(56,68%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 68%, 53%, 0.4);

css variable

--color-primary: hsl(56, 68%, 53%);

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(56, 68%, 53%)?

HEX: #D9CE36 | RGB: rgb(217, 206, 54) | CMYK: 0%, 5%, 75%, 15% | HSV: 56°, 75%, 85%. Copy any format from the conversion table above.

What colors go well with #D9CE36?

The complementary color is HSL(236, 68%, 53%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 68%, 53%) in CSS?

As HSL: color: hsl(56, 68%, 53%); — As HEX: color: #D9CE36; — As RGB: color: rgb(217, 206, 54); — Tailwind CSS: bg-[hsl(56,68%,53%)] — CSS variable: --color-primary: hsl(56, 68%, 53%);