HSL(52, 100%, 65%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,100%,65%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 100%, 65%) color: hsl(52, 100%, 65%)
HEX #FFE74D color: #FFE74D
RGB rgb(255, 231, 77) color: rgb(255, 231, 77)
CMYK cmyk(0%, 9%, 70%, 0%)
HSV hsv(52, 70%, 100%)
HWB hwb(52 30% 0%) color: hwb(52 30% 0%)
OKLCH oklch(0.9215 0.1673 100.21) color: oklch(0.9215 0.1673 100.21)
Lab lab(91.21 -8.11 74.05) color: lab(91.21 -8.11 74.05)
LCH lch(91.21 74.49 96.25) color: lch(91.21 74.49 96.25)

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.79: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)

#F5F472 — rgb(245, 244, 114)

Deuteranopia (Green-blind)

#F6F87B — rgb(246, 248, 123)

Tritanopia (Blue-blind)

#FE9096 — rgb(254, 144, 150)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 100%, 65%);

text

color: hsl(52, 100%, 65%);

border

border: 2px solid hsl(52, 100%, 65%);

gradient light

background: linear-gradient(to right, hsl(52, 100%, 85%), hsl(52, 100%, 65%));

gradient dark

background: linear-gradient(to right, hsl(52, 100%, 65%), hsl(52, 100%, 45%))

hex

background-color: #FFE74D;

tailwind

bg-[hsl(52,100%,65%)]

box shadow

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

css variable

--color-primary: hsl(52, 100%, 65%);

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

HEX: #FFE74D | RGB: rgb(255, 231, 77) | CMYK: 0%, 9%, 70%, 0% | HSV: 52°, 70%, 100%. Copy any format from the conversion table above.

What colors go well with #FFE74D?

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

As HSL: color: hsl(52, 100%, 65%); — As HEX: color: #FFE74D; — As RGB: color: rgb(255, 231, 77); — Tailwind CSS: bg-[hsl(52,100%,65%)] — CSS variable: --color-primary: hsl(52, 100%, 65%);