HSL(46, 100%, 71%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,100%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 100%, 71%) color: hsl(46, 100%, 71%)
HEX #FFDC6B color: #FFDC6B
RGB rgb(255, 220, 107) color: rgb(255, 220, 107)
CMYK cmyk(0%, 14%, 58%, 0%)
HSV hsv(46, 58%, 100%)
HWB hwb(46 42% 0%) color: hwb(46 42% 0%)
OKLCH oklch(0.9023 0.1371 92.27) color: oklch(0.9023 0.1371 92.27)
Lab lab(88.69 -0.82 58.96) color: lab(88.69 -0.82 58.96)
LCH lch(88.69 58.97 90.8) color: lch(88.69 58.97 90.8)

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.34:1
vs Black 15.7: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)

#F0F086 — rgb(240, 240, 134)

Deuteranopia (Green-blind)

#F2F58D — rgb(242, 245, 141)

Tritanopia (Blue-blind)

#FD9CA1 — rgb(253, 156, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 100%, 71%);

text

color: hsl(46, 100%, 71%);

border

border: 2px solid hsl(46, 100%, 71%);

gradient light

background: linear-gradient(to right, hsl(46, 100%, 91%), hsl(46, 100%, 71%));

gradient dark

background: linear-gradient(to right, hsl(46, 100%, 71%), hsl(46, 100%, 51%))

hex

background-color: #FFDC6B;

tailwind

bg-[hsl(46,100%,71%)]

box shadow

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

css variable

--color-primary: hsl(46, 100%, 71%);

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

HEX: #FFDC6B | RGB: rgb(255, 220, 107) | CMYK: 0%, 14%, 58%, 0% | HSV: 46°, 58%, 100%. Copy any format from the conversion table above.

What colors go well with #FFDC6B?

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

As HSL: color: hsl(46, 100%, 71%); — As HEX: color: #FFDC6B; — As RGB: color: rgb(255, 220, 107); — Tailwind CSS: bg-[hsl(46,100%,71%)] — CSS variable: --color-primary: hsl(46, 100%, 71%);