HSL(56, 46%, 51%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,46%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 46%, 51%) color: hsl(56, 46%, 51%)
HEX #BCB449 color: #BCB449
RGB rgb(188, 180, 73) color: rgb(188, 180, 73)
CMYK cmyk(0%, 4%, 61%, 26%)
HSV hsv(56, 61%, 74%)
HWB hwb(56 29% 26%) color: hwb(56 29% 26%)
OKLCH oklch(0.7559 0.1281 105.03) color: oklch(0.7559 0.1281 105.03)
Lab lab(72.11 -10.57 54.08) color: lab(72.11 -10.57 54.08)
LCH lch(72.11 55.1 101.06) color: lch(72.11 55.1 101.06)

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 2.15:1
vs Black 9.76: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)

#B9B863 — rgb(185, 184, 99)

Deuteranopia (Green-blind)

#B9BA69 — rgb(185, 186, 105)

Tritanopia (Blue-blind)

#BC777C — rgb(188, 119, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 46%, 51%);

text

color: hsl(56, 46%, 51%);

border

border: 2px solid hsl(56, 46%, 51%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(56, 46%, 51%), hsl(56, 46%, 31%))

hex

background-color: #BCB449;

tailwind

bg-[hsl(56,46%,51%)]

box shadow

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

css variable

--color-primary: hsl(56, 46%, 51%);

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, 46%, 51%)?

HEX: #BCB449 | RGB: rgb(188, 180, 73) | CMYK: 0%, 4%, 61%, 26% | HSV: 56°, 61%, 74%. Copy any format from the conversion table above.

What colors go well with #BCB449?

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

As HSL: color: hsl(56, 46%, 51%); — As HEX: color: #BCB449; — As RGB: color: rgb(188, 180, 73); — Tailwind CSS: bg-[hsl(56,46%,51%)] — CSS variable: --color-primary: hsl(56, 46%, 51%);