HSL(49, 80%, 52%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(49, 80%, 52%) color: hsl(49, 80%, 52%)
HEX #E7C323 color: #E7C323
RGB rgb(231, 195, 35) color: rgb(231, 195, 35)
CMYK cmyk(0%, 16%, 85%, 9%)
HSV hsv(49, 85%, 91%)
HWB hwb(49 14% 9%) color: hwb(49 14% 9%)
OKLCH oklch(0.8245 0.1622 94.78) color: oklch(0.8245 0.1622 94.78)
Lab lab(79.7 -1.52 75.83) color: lab(79.7 -1.52 75.83)
LCH lch(79.7 75.85 91.15) color: lch(79.7 75.85 91.15)

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.72:1
vs Black 12.23: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)

#D7D74A — rgb(215, 215, 74)

Deuteranopia (Green-blind)

#DADC53 — rgb(218, 220, 83)

Tritanopia (Blue-blind)

#E5686F — rgb(229, 104, 111)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(49, 80%, 72%), hsl(49, 80%, 52%));

gradient dark

background: linear-gradient(to right, hsl(49, 80%, 52%), hsl(49, 80%, 32%))

hex

background-color: #E7C323;

tailwind

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

box shadow

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

css variable

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

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

HEX: #E7C323 | RGB: rgb(231, 195, 35) | CMYK: 0%, 16%, 85%, 9% | HSV: 49°, 85%, 91%. Copy any format from the conversion table above.

What colors go well with #E7C323?

The complementary color is HSL(229, 80%, 52%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(49, 80%, 52%); — As HEX: color: #E7C323; — As RGB: color: rgb(231, 195, 35); — Tailwind CSS: bg-[hsl(49,80%,52%)] — CSS variable: --color-primary: hsl(49, 80%, 52%);