HSL(57, 57%, 64%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(57,57%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(57, 57%, 64%) color: hsl(57, 57%, 64%)
HEX #D8D26F color: #D8D26F
RGB rgb(216, 210, 111) color: rgb(216, 210, 111)
CMYK cmyk(0%, 3%, 49%, 15%)
HSV hsv(57, 49%, 85%)
HWB hwb(57 43% 15%) color: hwb(57 43% 15%)
OKLCH oklch(0.8481 0.1218 105.61) color: oklch(0.8481 0.1218 105.61)
Lab lab(82.83 -11.27 49.39) color: lab(82.83 -11.27 49.39)
LCH lch(82.83 50.66 102.85) color: lch(82.83 50.66 102.85)

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.57:1
vs Black 13.37: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)

#D5D587 — rgb(213, 213, 135)

Deuteranopia (Green-blind)

#D6D68D — rgb(214, 214, 141)

Tritanopia (Blue-blind)

#D89A9E — rgb(216, 154, 158)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(57, 57%, 64%);

text

color: hsl(57, 57%, 64%);

border

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

gradient light

background: linear-gradient(to right, hsl(57, 57%, 84%), hsl(57, 57%, 64%));

gradient dark

background: linear-gradient(to right, hsl(57, 57%, 64%), hsl(57, 57%, 44%))

hex

background-color: #D8D26F;

tailwind

bg-[hsl(57,57%,64%)]

box shadow

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

css variable

--color-primary: hsl(57, 57%, 64%);

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

HEX: #D8D26F | RGB: rgb(216, 210, 111) | CMYK: 0%, 3%, 49%, 15% | HSV: 57°, 49%, 85%. Copy any format from the conversion table above.

What colors go well with #D8D26F?

The complementary color is HSL(237, 57%, 64%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(57, 57%, 64%); — As HEX: color: #D8D26F; — As RGB: color: rgb(216, 210, 111); — Tailwind CSS: bg-[hsl(57,57%,64%)] — CSS variable: --color-primary: hsl(57, 57%, 64%);