HSL(56, 92%, 85%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(56, 92%, 85%) color: hsl(56, 92%, 85%)
HEX #FCF7B6 color: #FCF7B6
RGB rgb(252, 247, 182) color: rgb(252, 247, 182)
CMYK cmyk(0%, 2%, 28%, 1%)
HSV hsv(56, 28%, 99%)
HWB hwb(56 71% 1%) color: hwb(56 71% 1%)
OKLCH oklch(0.9648 0.0827 104.14) color: oklch(0.9648 0.0827 104.14)
Lab lab(96.24 -8.11 31.94) color: lab(96.24 -8.11 31.94)
LCH lch(96.24 32.95 104.25) color: lch(96.24 32.95 104.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.1:1
vs Black 19.12: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)

#FAFAC6 — rgb(250, 250, 198)

Deuteranopia (Green-blind)

#FAFBCA — rgb(250, 251, 202)

Tritanopia (Blue-blind)

#FCD2D5 — rgb(252, 210, 213)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(56, 92%, 100%), hsl(56, 92%, 85%));

gradient dark

background: linear-gradient(to right, hsl(56, 92%, 85%), hsl(56, 92%, 65%))

hex

background-color: #FCF7B6;

tailwind

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

box shadow

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

css variable

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

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, 92%, 85%)?

HEX: #FCF7B6 | RGB: rgb(252, 247, 182) | CMYK: 0%, 2%, 28%, 1% | HSV: 56°, 28%, 99%. Copy any format from the conversion table above.

What colors go well with #FCF7B6?

The complementary color is HSL(236, 92%, 85%). 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, 92%, 85%) in CSS?

As HSL: color: hsl(56, 92%, 85%); — As HEX: color: #FCF7B6; — As RGB: color: rgb(252, 247, 182); — Tailwind CSS: bg-[hsl(56,92%,85%)] — CSS variable: --color-primary: hsl(56, 92%, 85%);