HSL(62, 80%, 51%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(62,80%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 80%, 51%) color: hsl(62, 80%, 51%)
HEX #DFE61E color: #DFE61E
RGB rgb(223, 230, 30) color: rgb(223, 230, 30)
CMYK cmyk(3%, 0%, 87%, 10%)
HSV hsv(62, 87%, 90%)
HWB hwb(62 12% 10%) color: hwb(62 12% 10%)
OKLCH oklch(0.8902 0.192 111.98) color: oklch(0.8902 0.192 111.98)
Lab lab(88.15 -22.48 83.43) color: lab(88.15 -22.48 83.43)
LCH lch(88.15 86.41 105.08) color: lch(88.15 86.41 105.08)

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.36:1
vs Black 15.48: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)

#E2E24E — rgb(226, 226, 78)

Deuteranopia (Green-blind)

#E2E15A — rgb(226, 225, 90)

Tritanopia (Blue-blind)

#DF757D — rgb(223, 117, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 80%, 51%);

text

color: hsl(62, 80%, 51%);

border

border: 2px solid hsl(62, 80%, 51%);

gradient light

background: linear-gradient(to right, hsl(62, 80%, 71%), hsl(62, 80%, 51%));

gradient dark

background: linear-gradient(to right, hsl(62, 80%, 51%), hsl(62, 80%, 31%))

hex

background-color: #DFE61E;

tailwind

bg-[hsl(62,80%,51%)]

box shadow

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

css variable

--color-primary: hsl(62, 80%, 51%);

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, 80%, 51%)?

HEX: #DFE61E | RGB: rgb(223, 230, 30) | CMYK: 3%, 0%, 87%, 10% | HSV: 62°, 87%, 90%. Copy any format from the conversion table above.

What colors go well with #DFE61E?

The complementary color is HSL(242, 80%, 51%). 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, 80%, 51%) in CSS?

As HSL: color: hsl(62, 80%, 51%); — As HEX: color: #DFE61E; — As RGB: color: rgb(223, 230, 30); — Tailwind CSS: bg-[hsl(62,80%,51%)] — CSS variable: --color-primary: hsl(62, 80%, 51%);