HSL(54, 89%, 66%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(54,89%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(54, 89%, 66%) color: hsl(54, 89%, 66%)
HEX #F5E65B color: #F5E65B
RGB rgb(245, 230, 91) color: rgb(245, 230, 91)
CMYK cmyk(0%, 6%, 63%, 4%)
HSV hsv(54, 63%, 96%)
HWB hwb(54 36% 4%) color: hwb(54 36% 4%)
OKLCH oklch(0.9119 0.1571 103.15) color: oklch(0.9119 0.1571 103.15)
Lab lab(90.21 -10.97 67.32) color: lab(90.21 -10.97 67.32)
LCH lch(90.21 68.21 99.26) color: lch(90.21 68.21 99.26)

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.28:1
vs Black 16.35: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)

#EFEE7D — rgb(239, 238, 125)

Deuteranopia (Green-blind)

#EFF185 — rgb(239, 241, 133)

Tritanopia (Blue-blind)

#F4979D — rgb(244, 151, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(54, 89%, 66%);

text

color: hsl(54, 89%, 66%);

border

border: 2px solid hsl(54, 89%, 66%);

gradient light

background: linear-gradient(to right, hsl(54, 89%, 86%), hsl(54, 89%, 66%));

gradient dark

background: linear-gradient(to right, hsl(54, 89%, 66%), hsl(54, 89%, 46%))

hex

background-color: #F5E65B;

tailwind

bg-[hsl(54,89%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(54, 89%, 66%, 0.4);

css variable

--color-primary: hsl(54, 89%, 66%);

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(54, 89%, 66%)?

HEX: #F5E65B | RGB: rgb(245, 230, 91) | CMYK: 0%, 6%, 63%, 4% | HSV: 54°, 63%, 96%. Copy any format from the conversion table above.

What colors go well with #F5E65B?

The complementary color is HSL(234, 89%, 66%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(54, 89%, 66%) in CSS?

As HSL: color: hsl(54, 89%, 66%); — As HEX: color: #F5E65B; — As RGB: color: rgb(245, 230, 91); — Tailwind CSS: bg-[hsl(54,89%,66%)] — CSS variable: --color-primary: hsl(54, 89%, 66%);