HSL(52, 78%, 79%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,78%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 78%, 79%) color: hsl(52, 78%, 79%)
HEX #F3E8A0 color: #F3E8A0
RGB rgb(243, 232, 160) color: rgb(243, 232, 160)
CMYK cmyk(0%, 5%, 34%, 5%)
HSV hsv(52, 34%, 95%)
HWB hwb(52 63% 5%) color: hwb(52 63% 5%)
OKLCH oklch(0.9233 0.0918 100.56) color: oklch(0.9233 0.0918 100.56)
Lab lab(91.37 -6.68 36.42) color: lab(91.37 -6.68 36.42)
LCH lch(91.37 37.03 100.39) color: lch(91.37 37.03 100.39)

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.25:1
vs Black 16.86: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)

#EEEEB1 — rgb(238, 238, 177)

Deuteranopia (Green-blind)

#EFF0B6 — rgb(239, 240, 182)

Tritanopia (Blue-blind)

#F2BFC2 — rgb(242, 191, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 78%, 79%);

text

color: hsl(52, 78%, 79%);

border

border: 2px solid hsl(52, 78%, 79%);

gradient light

background: linear-gradient(to right, hsl(52, 78%, 99%), hsl(52, 78%, 79%));

gradient dark

background: linear-gradient(to right, hsl(52, 78%, 79%), hsl(52, 78%, 59%))

hex

background-color: #F3E8A0;

tailwind

bg-[hsl(52,78%,79%)]

box shadow

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

css variable

--color-primary: hsl(52, 78%, 79%);

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

HEX: #F3E8A0 | RGB: rgb(243, 232, 160) | CMYK: 0%, 5%, 34%, 5% | HSV: 52°, 34%, 95%. Copy any format from the conversion table above.

What colors go well with #F3E8A0?

The complementary color is HSL(232, 78%, 79%). 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, 78%, 79%) in CSS?

As HSL: color: hsl(52, 78%, 79%); — As HEX: color: #F3E8A0; — As RGB: color: rgb(243, 232, 160); — Tailwind CSS: bg-[hsl(52,78%,79%)] — CSS variable: --color-primary: hsl(52, 78%, 79%);