HSL(46, 72%, 62%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,72%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 72%, 62%) color: hsl(46, 72%, 62%)
HEX #E4C358 color: #E4C358
RGB rgb(228, 195, 88) color: rgb(228, 195, 88)
CMYK cmyk(0%, 14%, 61%, 11%)
HSV hsv(46, 61%, 89%)
HWB hwb(46 35% 11%) color: hwb(46 35% 11%)
OKLCH oklch(0.8253 0.1307 92.15) color: oklch(0.8253 0.1307 92.15)
Lab lab(79.75 -0.44 56.8) color: lab(79.75 -0.44 56.8)
LCH lch(79.75 56.8 90.44) color: lch(79.75 56.8 90.44)

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.71:1
vs Black 12.25: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)

#D6D572 — rgb(214, 213, 114)

Deuteranopia (Green-blind)

#D8DA78 — rgb(216, 218, 120)

Tritanopia (Blue-blind)

#E2868B — rgb(226, 134, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 72%, 62%);

text

color: hsl(46, 72%, 62%);

border

border: 2px solid hsl(46, 72%, 62%);

gradient light

background: linear-gradient(to right, hsl(46, 72%, 82%), hsl(46, 72%, 62%));

gradient dark

background: linear-gradient(to right, hsl(46, 72%, 62%), hsl(46, 72%, 42%))

hex

background-color: #E4C358;

tailwind

bg-[hsl(46,72%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(46, 72%, 62%, 0.4);

css variable

--color-primary: hsl(46, 72%, 62%);

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(46, 72%, 62%)?

HEX: #E4C358 | RGB: rgb(228, 195, 88) | CMYK: 0%, 14%, 61%, 11% | HSV: 46°, 61%, 89%. Copy any format from the conversion table above.

What colors go well with #E4C358?

The complementary color is HSL(226, 72%, 62%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(46, 72%, 62%) in CSS?

As HSL: color: hsl(46, 72%, 62%); — As HEX: color: #E4C358; — As RGB: color: rgb(228, 195, 88); — Tailwind CSS: bg-[hsl(46,72%,62%)] — CSS variable: --color-primary: hsl(46, 72%, 62%);