HSL(49, 80%, 72%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(49,80%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 80%, 72%) color: hsl(49, 80%, 72%)
HEX #F1DC7E color: #F1DC7E
RGB rgb(241, 220, 126) color: rgb(241, 220, 126)
CMYK cmyk(0%, 9%, 48%, 5%)
HSV hsv(49, 48%, 95%)
HWB hwb(49 49% 5%) color: hwb(49 49% 5%)
OKLCH oklch(0.8921 0.1171 97.08) color: oklch(0.8921 0.1171 97.08)
Lab lab(87.68 -4.93 48.53) color: lab(87.68 -4.93 48.53)
LCH lch(87.68 48.78 95.8) color: lch(87.68 48.78 95.8)

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.37:1
vs Black 15.28: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)

#E8E895 — rgb(232, 232, 149)

Deuteranopia (Green-blind)

#E9EB9A — rgb(233, 235, 154)

Tritanopia (Blue-blind)

#F0A7AB — rgb(240, 167, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 80%, 72%);

text

color: hsl(49, 80%, 72%);

border

border: 2px solid hsl(49, 80%, 72%);

gradient light

background: linear-gradient(to right, hsl(49, 80%, 92%), hsl(49, 80%, 72%));

gradient dark

background: linear-gradient(to right, hsl(49, 80%, 72%), hsl(49, 80%, 52%))

hex

background-color: #F1DC7E;

tailwind

bg-[hsl(49,80%,72%)]

box shadow

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

css variable

--color-primary: hsl(49, 80%, 72%);

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(49, 80%, 72%)?

HEX: #F1DC7E | RGB: rgb(241, 220, 126) | CMYK: 0%, 9%, 48%, 5% | HSV: 49°, 48%, 95%. Copy any format from the conversion table above.

What colors go well with #F1DC7E?

The complementary color is HSL(229, 80%, 72%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 80%, 72%) in CSS?

As HSL: color: hsl(49, 80%, 72%); — As HEX: color: #F1DC7E; — As RGB: color: rgb(241, 220, 126); — Tailwind CSS: bg-[hsl(49,80%,72%)] — CSS variable: --color-primary: hsl(49, 80%, 72%);