HSL(51, 19%, 47%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(51,19%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(51, 19%, 47%) color: hsl(51, 19%, 47%)
HEX #8F8861 color: #8F8861
RGB rgb(143, 136, 97) color: rgb(143, 136, 97)
CMYK cmyk(0%, 5%, 32%, 44%)
HSV hsv(51, 32%, 56%)
HWB hwb(51 38% 44%) color: hwb(51 38% 44%)
OKLCH oklch(0.6228 0.0556 99.18) color: oklch(0.6228 0.0556 99.18)
Lab lab(56.4 -3.73 21.93) color: lab(56.4 -3.73 21.93)
LCH lch(56.4 22.24 99.65) color: lch(56.4 22.24 99.65)

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 3.58:1
vs Black 5.86:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8C8C6A — rgb(140, 140, 106)

Deuteranopia (Green-blind)

#8C8D6D — rgb(140, 141, 109)

Tritanopia (Blue-blind)

#8F7274 — rgb(143, 114, 116)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(51, 19%, 47%);

text

color: hsl(51, 19%, 47%);

border

border: 2px solid hsl(51, 19%, 47%);

gradient light

background: linear-gradient(to right, hsl(51, 19%, 67%), hsl(51, 19%, 47%));

gradient dark

background: linear-gradient(to right, hsl(51, 19%, 47%), hsl(51, 19%, 27%))

hex

background-color: #8F8861;

tailwind

bg-[hsl(51,19%,47%)]

box shadow

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

css variable

--color-primary: hsl(51, 19%, 47%);

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(51, 19%, 47%)?

HEX: #8F8861 | RGB: rgb(143, 136, 97) | CMYK: 0%, 5%, 32%, 44% | HSV: 51°, 32%, 56%. Copy any format from the conversion table above.

What colors go well with #8F8861?

The complementary color is HSL(231, 19%, 47%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(51, 19%, 47%) in CSS?

As HSL: color: hsl(51, 19%, 47%); — As HEX: color: #8F8861; — As RGB: color: rgb(143, 136, 97); — Tailwind CSS: bg-[hsl(51,19%,47%)] — CSS variable: --color-primary: hsl(51, 19%, 47%);