HSL(47, 91%, 74%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(47,91%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(47, 91%, 74%) color: hsl(47, 91%, 74%)
HEX #F9DF80 color: #F9DF80
RGB rgb(249, 223, 128) color: rgb(249, 223, 128)
CMYK cmyk(0%, 10%, 49%, 2%)
HSV hsv(47, 49%, 98%)
HWB hwb(47 50% 2%) color: hwb(47 50% 2%)
OKLCH oklch(0.9054 0.1188 94.49) color: oklch(0.9054 0.1188 94.49)
Lab lab(89.15 -3.08 49.52) color: lab(89.15 -3.08 49.52)
LCH lch(89.15 49.62 93.56) color: lch(89.15 49.62 93.56)

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.32:1
vs Black 15.89: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)

#EEEE97 — rgb(238, 238, 151)

Deuteranopia (Green-blind)

#EFF19D — rgb(239, 241, 157)

Tritanopia (Blue-blind)

#F8A9AD — rgb(248, 169, 173)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(47, 91%, 74%);

text

color: hsl(47, 91%, 74%);

border

border: 2px solid hsl(47, 91%, 74%);

gradient light

background: linear-gradient(to right, hsl(47, 91%, 94%), hsl(47, 91%, 74%));

gradient dark

background: linear-gradient(to right, hsl(47, 91%, 74%), hsl(47, 91%, 54%))

hex

background-color: #F9DF80;

tailwind

bg-[hsl(47,91%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(47, 91%, 74%, 0.4);

css variable

--color-primary: hsl(47, 91%, 74%);

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(47, 91%, 74%)?

HEX: #F9DF80 | RGB: rgb(249, 223, 128) | CMYK: 0%, 10%, 49%, 2% | HSV: 47°, 49%, 98%. Copy any format from the conversion table above.

What colors go well with #F9DF80?

The complementary color is HSL(227, 91%, 74%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(47, 91%, 74%) in CSS?

As HSL: color: hsl(47, 91%, 74%); — As HEX: color: #F9DF80; — As RGB: color: rgb(249, 223, 128); — Tailwind CSS: bg-[hsl(47,91%,74%)] — CSS variable: --color-primary: hsl(47, 91%, 74%);