HSL(47, 91%, 73%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(47, 91%, 73%) color: hsl(47, 91%, 73%)
HEX #F9DE7B color: #F9DE7B
RGB rgb(249, 222, 123) color: rgb(249, 222, 123)
CMYK cmyk(0%, 11%, 51%, 2%)
HSV hsv(47, 51%, 98%)
HWB hwb(47 48% 2%) color: hwb(47 48% 2%)
OKLCH oklch(0.9028 0.1229 94.49) color: oklch(0.9028 0.1229 94.49)
Lab lab(88.84 -3.01 51.54) color: lab(88.84 -3.01 51.54)
LCH lch(88.84 51.63 93.34) color: lch(88.84 51.63 93.34)

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.33:1
vs Black 15.76: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)

#EDED93 — rgb(237, 237, 147)

Deuteranopia (Green-blind)

#EFF199 — rgb(239, 241, 153)

Tritanopia (Blue-blind)

#F8A6AA — rgb(248, 166, 170)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(47, 91%, 93%), hsl(47, 91%, 73%));

gradient dark

background: linear-gradient(to right, hsl(47, 91%, 73%), hsl(47, 91%, 53%))

hex

background-color: #F9DE7B;

tailwind

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

box shadow

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

css variable

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

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

HEX: #F9DE7B | RGB: rgb(249, 222, 123) | CMYK: 0%, 11%, 51%, 2% | HSV: 47°, 51%, 98%. Copy any format from the conversion table above.

What colors go well with #F9DE7B?

The complementary color is HSL(227, 91%, 73%). 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%, 73%) in CSS?

As HSL: color: hsl(47, 91%, 73%); — As HEX: color: #F9DE7B; — As RGB: color: rgb(249, 222, 123); — Tailwind CSS: bg-[hsl(47,91%,73%)] — CSS variable: --color-primary: hsl(47, 91%, 73%);