HSL(59, 64%, 54%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(59,64%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(59, 64%, 54%) color: hsl(59, 64%, 54%)
HEX #D5D23F color: #D5D23F
RGB rgb(213, 210, 63) color: rgb(213, 210, 63)
CMYK cmyk(0%, 1%, 70%, 16%)
HSV hsv(59, 70%, 84%)
HWB hwb(59 25% 16%) color: hwb(59 25% 16%)
OKLCH oklch(0.8408 0.1612 108.24) color: oklch(0.8408 0.1612 108.24)
Lab lab(82.16 -15.79 69.05) color: lab(82.16 -15.79 69.05)
LCH lch(82.16 70.83 102.88) color: lch(82.16 70.83 102.88)

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.12: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)

#D4D463 — rgb(212, 212, 99)

Deuteranopia (Green-blind)

#D4D46B — rgb(212, 212, 107)

Tritanopia (Blue-blind)

#D57F85 — rgb(213, 127, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(59, 64%, 54%);

text

color: hsl(59, 64%, 54%);

border

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

gradient light

background: linear-gradient(to right, hsl(59, 64%, 74%), hsl(59, 64%, 54%));

gradient dark

background: linear-gradient(to right, hsl(59, 64%, 54%), hsl(59, 64%, 34%))

hex

background-color: #D5D23F;

tailwind

bg-[hsl(59,64%,54%)]

box shadow

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

css variable

--color-primary: hsl(59, 64%, 54%);

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

HEX: #D5D23F | RGB: rgb(213, 210, 63) | CMYK: 0%, 1%, 70%, 16% | HSV: 59°, 70%, 84%. Copy any format from the conversion table above.

What colors go well with #D5D23F?

The complementary color is HSL(239, 64%, 54%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(59, 64%, 54%); — As HEX: color: #D5D23F; — As RGB: color: rgb(213, 210, 63); — Tailwind CSS: bg-[hsl(59,64%,54%)] — CSS variable: --color-primary: hsl(59, 64%, 54%);