HSL(64, 52%, 71%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(64,52%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(64, 52%, 71%) color: hsl(64, 52%, 71%)
HEX #D6DC8F color: #D6DC8F
RGB rgb(214, 220, 143) color: rgb(214, 220, 143)
CMYK cmyk(3%, 0%, 35%, 14%)
HSV hsv(65, 35%, 86%)
HWB hwb(65 56% 14%) color: hwb(65 56% 14%)
OKLCH oklch(0.8722 0.0989 112.06) color: oklch(0.8722 0.0989 112.06)
Lab lab(85.74 -13.74 37.2) color: lab(85.74 -13.74 37.2)
LCH lch(85.74 39.66 110.27) color: lch(85.74 39.66 110.27)

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.45:1
vs Black 14.49: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)

#D9D9A2 — rgb(217, 217, 162)

Deuteranopia (Green-blind)

#D8D8A6 — rgb(216, 216, 166)

Tritanopia (Blue-blind)

#D6B0B4 — rgb(214, 176, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(64, 52%, 71%);

text

color: hsl(64, 52%, 71%);

border

border: 2px solid hsl(64, 52%, 71%);

gradient light

background: linear-gradient(to right, hsl(64, 52%, 91%), hsl(64, 52%, 71%));

gradient dark

background: linear-gradient(to right, hsl(64, 52%, 71%), hsl(64, 52%, 51%))

hex

background-color: #D6DC8F;

tailwind

bg-[hsl(64,52%,71%)]

box shadow

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

css variable

--color-primary: hsl(64, 52%, 71%);

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, 52%, 71%)?

HEX: #D6DC8F | RGB: rgb(214, 220, 143) | CMYK: 3%, 0%, 35%, 14% | HSV: 65°, 35%, 86%. Copy any format from the conversion table above.

What colors go well with #D6DC8F?

The complementary color is HSL(244, 52%, 71%). 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, 52%, 71%) in CSS?

As HSL: color: hsl(64, 52%, 71%); — As HEX: color: #D6DC8F; — As RGB: color: rgb(214, 220, 143); — Tailwind CSS: bg-[hsl(64,52%,71%)] — CSS variable: --color-primary: hsl(64, 52%, 71%);