HSL(59, 60%, 68%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(59,60%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(59, 60%, 68%) color: hsl(59, 60%, 68%)
HEX #DEDD7C color: #DEDD7C
RGB rgb(222, 221, 124) color: rgb(222, 221, 124)
CMYK cmyk(0%, 0%, 44%, 13%)
HSV hsv(59, 44%, 87%)
HWB hwb(59 49% 13%) color: hwb(59 49% 13%)
OKLCH oklch(0.8778 0.12 108.12) color: oklch(0.8778 0.12 108.12)
Lab lab(86.35 -13.17 47.52) color: lab(86.35 -13.17 47.52)
LCH lch(86.35 49.31 105.49) color: lch(86.35 49.31 105.49)

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.42:1
vs Black 14.74: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)

#DEDE93 — rgb(222, 222, 147)

Deuteranopia (Green-blind)

#DEDE99 — rgb(222, 222, 153)

Tritanopia (Blue-blind)

#DEA6AA — rgb(222, 166, 170)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(59, 60%, 68%);

text

color: hsl(59, 60%, 68%);

border

border: 2px solid hsl(59, 60%, 68%);

gradient light

background: linear-gradient(to right, hsl(59, 60%, 88%), hsl(59, 60%, 68%));

gradient dark

background: linear-gradient(to right, hsl(59, 60%, 68%), hsl(59, 60%, 48%))

hex

background-color: #DEDD7C;

tailwind

bg-[hsl(59,60%,68%)]

box shadow

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

css variable

--color-primary: hsl(59, 60%, 68%);

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, 60%, 68%)?

HEX: #DEDD7C | RGB: rgb(222, 221, 124) | CMYK: 0%, 0%, 44%, 13% | HSV: 59°, 44%, 87%. Copy any format from the conversion table above.

What colors go well with #DEDD7C?

The complementary color is HSL(239, 60%, 68%). 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, 60%, 68%) in CSS?

As HSL: color: hsl(59, 60%, 68%); — As HEX: color: #DEDD7C; — As RGB: color: rgb(222, 221, 124); — Tailwind CSS: bg-[hsl(59,60%,68%)] — CSS variable: --color-primary: hsl(59, 60%, 68%);