HSL(62, 72%, 52%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(62,72%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 72%, 52%) color: hsl(62, 72%, 52%)
HEX #D7DD2C color: #D7DD2C
RGB rgb(215, 221, 44) color: rgb(215, 221, 44)
CMYK cmyk(3%, 0%, 80%, 13%)
HSV hsv(62, 80%, 87%)
HWB hwb(62 17% 13%) color: hwb(62 17% 13%)
OKLCH oklch(0.8649 0.1809 111.71) color: oklch(0.8649 0.1809 111.71)
Lab lab(85.17 -21.11 77.68) color: lab(85.17 -21.11 77.68)
LCH lch(85.17 80.5 105.2) color: lch(85.17 80.5 105.2)

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.47:1
vs Black 14.27: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)

#DADA57 — rgb(218, 218, 87)

Deuteranopia (Green-blind)

#D9D961 — rgb(217, 217, 97)

Tritanopia (Blue-blind)

#D77980 — rgb(215, 121, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 72%, 52%);

text

color: hsl(62, 72%, 52%);

border

border: 2px solid hsl(62, 72%, 52%);

gradient light

background: linear-gradient(to right, hsl(62, 72%, 72%), hsl(62, 72%, 52%));

gradient dark

background: linear-gradient(to right, hsl(62, 72%, 52%), hsl(62, 72%, 32%))

hex

background-color: #D7DD2C;

tailwind

bg-[hsl(62,72%,52%)]

box shadow

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

css variable

--color-primary: hsl(62, 72%, 52%);

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(62, 72%, 52%)?

HEX: #D7DD2C | RGB: rgb(215, 221, 44) | CMYK: 3%, 0%, 80%, 13% | HSV: 62°, 80%, 87%. Copy any format from the conversion table above.

What colors go well with #D7DD2C?

The complementary color is HSL(242, 72%, 52%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(62, 72%, 52%) in CSS?

As HSL: color: hsl(62, 72%, 52%); — As HEX: color: #D7DD2C; — As RGB: color: rgb(215, 221, 44); — Tailwind CSS: bg-[hsl(62,72%,52%)] — CSS variable: --color-primary: hsl(62, 72%, 52%);