HSL(64, 69%, 56%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(64,69%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(64, 69%, 56%) color: hsl(64, 69%, 56%)
HEX #D2DC41 color: #D2DC41
RGB rgb(210, 220, 65) color: rgb(210, 220, 65)
CMYK cmyk(5%, 0%, 70%, 14%)
HSV hsv(64, 70%, 86%)
HWB hwb(64 26% 14%) color: hwb(64 26% 14%)
OKLCH oklch(0.8599 0.1706 113.13) color: oklch(0.8599 0.1706 113.13)
Lab lab(84.62 -21.85 70.66) color: lab(84.62 -21.85 70.66)
LCH lch(84.62 73.96 107.18) color: lch(84.62 73.96 107.18)

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.49:1
vs Black 14.05: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)

#D6D667 — rgb(214, 214, 103)

Deuteranopia (Green-blind)

#D6D570 — rgb(214, 213, 112)

Tritanopia (Blue-blind)

#D3848B — rgb(211, 132, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(64, 69%, 56%);

text

color: hsl(64, 69%, 56%);

border

border: 2px solid hsl(64, 69%, 56%);

gradient light

background: linear-gradient(to right, hsl(64, 69%, 76%), hsl(64, 69%, 56%));

gradient dark

background: linear-gradient(to right, hsl(64, 69%, 56%), hsl(64, 69%, 36%))

hex

background-color: #D2DC41;

tailwind

bg-[hsl(64,69%,56%)]

box shadow

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

css variable

--color-primary: hsl(64, 69%, 56%);

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(64, 69%, 56%)?

HEX: #D2DC41 | RGB: rgb(210, 220, 65) | CMYK: 5%, 0%, 70%, 14% | HSV: 64°, 70%, 86%. Copy any format from the conversion table above.

What colors go well with #D2DC41?

The complementary color is HSL(244, 69%, 56%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(64, 69%, 56%) in CSS?

As HSL: color: hsl(64, 69%, 56%); — As HEX: color: #D2DC41; — As RGB: color: rgb(210, 220, 65); — Tailwind CSS: bg-[hsl(64,69%,56%)] — CSS variable: --color-primary: hsl(64, 69%, 56%);