HSL(52, 97%, 80%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,97%,80%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 97%, 80%) color: hsl(52, 97%, 80%)
HEX #FDF09B color: #FDF09B
RGB rgb(253, 240, 155) color: rgb(253, 240, 155)
CMYK cmyk(0%, 5%, 39%, 1%)
HSV hsv(52, 39%, 99%)
HWB hwb(52 60% 1%) color: hwb(52 60% 1%)
OKLCH oklch(0.9468 0.1063 100.64) color: oklch(0.9468 0.1063 100.64)
Lab lab(94.13 -7.41 42.65) color: lab(94.13 -7.41 42.65)
LCH lch(94.13 43.29 99.86) color: lch(94.13 43.29 99.86)

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.16:1
vs Black 18.11: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)

#F7F7B0 — rgb(247, 247, 176)

Deuteranopia (Green-blind)

#F8F9B5 — rgb(248, 249, 181)

Tritanopia (Blue-blind)

#FCC0C3 — rgb(252, 192, 195)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 97%, 80%);

text

color: hsl(52, 97%, 80%);

border

border: 2px solid hsl(52, 97%, 80%);

gradient light

background: linear-gradient(to right, hsl(52, 97%, 100%), hsl(52, 97%, 80%));

gradient dark

background: linear-gradient(to right, hsl(52, 97%, 80%), hsl(52, 97%, 60%))

hex

background-color: #FDF09B;

tailwind

bg-[hsl(52,97%,80%)]

box shadow

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

css variable

--color-primary: hsl(52, 97%, 80%);

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(52, 97%, 80%)?

HEX: #FDF09B | RGB: rgb(253, 240, 155) | CMYK: 0%, 5%, 39%, 1% | HSV: 52°, 39%, 99%. Copy any format from the conversion table above.

What colors go well with #FDF09B?

The complementary color is HSL(232, 97%, 80%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 97%, 80%) in CSS?

As HSL: color: hsl(52, 97%, 80%); — As HEX: color: #FDF09B; — As RGB: color: rgb(253, 240, 155); — Tailwind CSS: bg-[hsl(52,97%,80%)] — CSS variable: --color-primary: hsl(52, 97%, 80%);