HSL(56, 85%, 70%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,85%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 85%, 70%) color: hsl(56, 85%, 70%)
HEX #F4EB71 color: #F4EB71
RGB rgb(244, 235, 113) color: rgb(244, 235, 113)
CMYK cmyk(0%, 4%, 54%, 4%)
HSV hsv(56, 54%, 96%)
HWB hwb(56 44% 4%) color: hwb(56 44% 4%)
OKLCH oklch(0.9235 0.1436 105.01) color: oklch(0.9235 0.1436 105.01)
Lab lab(91.61 -12.33 59.36) color: lab(91.61 -12.33 59.36)
LCH lch(91.61 60.63 101.73) color: lch(91.61 60.63 101.73)

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.24:1
vs Black 16.97: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)

#F0F08F — rgb(240, 240, 143)

Deuteranopia (Green-blind)

#F1F196 — rgb(241, 241, 150)

Tritanopia (Blue-blind)

#F4A6AB — rgb(244, 166, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 85%, 70%);

text

color: hsl(56, 85%, 70%);

border

border: 2px solid hsl(56, 85%, 70%);

gradient light

background: linear-gradient(to right, hsl(56, 85%, 90%), hsl(56, 85%, 70%));

gradient dark

background: linear-gradient(to right, hsl(56, 85%, 70%), hsl(56, 85%, 50%))

hex

background-color: #F4EB71;

tailwind

bg-[hsl(56,85%,70%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 85%, 70%, 0.4);

css variable

--color-primary: hsl(56, 85%, 70%);

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(56, 85%, 70%)?

HEX: #F4EB71 | RGB: rgb(244, 235, 113) | CMYK: 0%, 4%, 54%, 4% | HSV: 56°, 54%, 96%. Copy any format from the conversion table above.

What colors go well with #F4EB71?

The complementary color is HSL(236, 85%, 70%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 85%, 70%) in CSS?

As HSL: color: hsl(56, 85%, 70%); — As HEX: color: #F4EB71; — As RGB: color: rgb(244, 235, 113); — Tailwind CSS: bg-[hsl(56,85%,70%)] — CSS variable: --color-primary: hsl(56, 85%, 70%);