HSL(49, 10%, 52%)

Grayish Yellow — Yellow color

Adjust Color

Color Information

Color Name

Grayish Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(49,10%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 10%, 52%) color: hsl(49, 10%, 52%)
HEX #918C78 color: #918C78
RGB rgb(145, 140, 120) color: rgb(145, 140, 120)
CMYK cmyk(0%, 3%, 17%, 43%)
HSV hsv(48, 17%, 57%)
HWB hwb(48 47% 43%) color: hwb(48 47% 43%)
OKLCH oklch(0.6387 0.0295 95.51) color: oklch(0.6387 0.0295 95.51)
Lab lab(58.16 -1.69 11.36) color: lab(58.16 -1.69 11.36)
LCH lch(58.16 11.49 98.46) color: lch(58.16 11.49 98.46)

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.37:1
vs Black 6.23: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)

#8F8F7D — rgb(143, 143, 125)

Deuteranopia (Green-blind)

#8F907E — rgb(143, 144, 126)

Tritanopia (Blue-blind)

#918182 — rgb(145, 129, 130)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 10%, 52%);

text

color: hsl(49, 10%, 52%);

border

border: 2px solid hsl(49, 10%, 52%);

gradient light

background: linear-gradient(to right, hsl(49, 10%, 72%), hsl(49, 10%, 52%));

gradient dark

background: linear-gradient(to right, hsl(49, 10%, 52%), hsl(49, 10%, 32%))

hex

background-color: #918C78;

tailwind

bg-[hsl(49,10%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(49, 10%, 52%, 0.4);

css variable

--color-primary: hsl(49, 10%, 52%);

Related Colors

Use Cases for Grayish Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(49, 10%, 52%)?

HEX: #918C78 | RGB: rgb(145, 140, 120) | CMYK: 0%, 3%, 17%, 43% | HSV: 48°, 17%, 57%. Copy any format from the conversion table above.

What colors go well with #918C78?

The complementary color is HSL(229, 10%, 52%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 10%, 52%) in CSS?

As HSL: color: hsl(49, 10%, 52%); — As HEX: color: #918C78; — As RGB: color: rgb(145, 140, 120); — Tailwind CSS: bg-[hsl(49,10%,52%)] — CSS variable: --color-primary: hsl(49, 10%, 52%);