HSL(55, 92%, 64%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,92%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 92%, 64%) color: hsl(55, 92%, 64%)
HEX #F8EA4F color: #F8EA4F
RGB rgb(248, 234, 79) color: rgb(248, 234, 79)
CMYK cmyk(0%, 6%, 68%, 3%)
HSV hsv(55, 68%, 97%)
HWB hwb(55 31% 3%) color: hwb(55 31% 3%)
OKLCH oklch(0.9216 0.1687 104.12) color: oklch(0.9216 0.1687 104.12)
Lab lab(91.4 -12.38 73.31) color: lab(91.4 -12.38 73.31)
LCH lch(91.4 74.35 99.59) color: lch(91.4 74.35 99.59)

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.24:1
vs Black 16.87: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)

#F2F275 — rgb(242, 242, 117)

Deuteranopia (Green-blind)

#F3F47E — rgb(243, 244, 126)

Tritanopia (Blue-blind)

#F79299 — rgb(247, 146, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 92%, 64%);

text

color: hsl(55, 92%, 64%);

border

border: 2px solid hsl(55, 92%, 64%);

gradient light

background: linear-gradient(to right, hsl(55, 92%, 84%), hsl(55, 92%, 64%));

gradient dark

background: linear-gradient(to right, hsl(55, 92%, 64%), hsl(55, 92%, 44%))

hex

background-color: #F8EA4F;

tailwind

bg-[hsl(55,92%,64%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(55, 92%, 64%, 0.4);

css variable

--color-primary: hsl(55, 92%, 64%);

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(55, 92%, 64%)?

HEX: #F8EA4F | RGB: rgb(248, 234, 79) | CMYK: 0%, 6%, 68%, 3% | HSV: 55°, 68%, 97%. Copy any format from the conversion table above.

What colors go well with #F8EA4F?

The complementary color is HSL(235, 92%, 64%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 92%, 64%) in CSS?

As HSL: color: hsl(55, 92%, 64%); — As HEX: color: #F8EA4F; — As RGB: color: rgb(248, 234, 79); — Tailwind CSS: bg-[hsl(55,92%,64%)] — CSS variable: --color-primary: hsl(55, 92%, 64%);