HSL(56, 92%, 50%)

Vivid Yellow — Yellow color

Adjust Color

Color Information

Color Name

Vivid Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,92%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 92%, 50%) color: hsl(56, 92%, 50%)
HEX #F5E50A color: #F5E50A
RGB rgb(245, 229, 10) color: rgb(245, 229, 10)
CMYK cmyk(0%, 7%, 96%, 4%)
HSV hsv(56, 96%, 96%)
HWB hwb(56 4% 4%) color: hwb(56 4% 4%)
OKLCH oklch(0.906 0.1906 104.4) color: oklch(0.906 0.1906 104.4)
Lab lab(89.62 -13.07 87.85) color: lab(89.62 -13.07 87.85)
LCH lch(89.62 88.82 98.46) color: lch(89.62 88.82 98.46)

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.3:1
vs Black 16.09: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)

#EEEE3F — rgb(238, 238, 63)

Deuteranopia (Green-blind)

#EFF04C — rgb(239, 240, 76)

Tritanopia (Blue-blind)

#F46972 — rgb(244, 105, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 92%, 50%);

text

color: hsl(56, 92%, 50%);

border

border: 2px solid hsl(56, 92%, 50%);

gradient light

background: linear-gradient(to right, hsl(56, 92%, 70%), hsl(56, 92%, 50%));

gradient dark

background: linear-gradient(to right, hsl(56, 92%, 50%), hsl(56, 92%, 30%))

hex

background-color: #F5E50A;

tailwind

bg-[hsl(56,92%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 92%, 50%, 0.4);

css variable

--color-primary: hsl(56, 92%, 50%);

Related Colors

Use Cases for Vivid Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(56, 92%, 50%)?

HEX: #F5E50A | RGB: rgb(245, 229, 10) | CMYK: 0%, 7%, 96%, 4% | HSV: 56°, 96%, 96%. Copy any format from the conversion table above.

What colors go well with #F5E50A?

The complementary color is HSL(236, 92%, 50%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 92%, 50%) in CSS?

As HSL: color: hsl(56, 92%, 50%); — As HEX: color: #F5E50A; — As RGB: color: rgb(245, 229, 10); — Tailwind CSS: bg-[hsl(56,92%,50%)] — CSS variable: --color-primary: hsl(56, 92%, 50%);