HSL(50, 10%, 63%)

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(50,10%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(50, 10%, 63%) color: hsl(50, 10%, 63%)
HEX #AAA797 color: #AAA797
RGB rgb(170, 167, 151) color: rgb(170, 167, 151)
CMYK cmyk(0%, 2%, 11%, 33%)
HSV hsv(51, 11%, 67%)
HWB hwb(51 60% 33%) color: hwb(51 60% 33%)
OKLCH oklch(0.7263 0.0228 98.23) color: oklch(0.7263 0.0228 98.23)
Lab lab(68.33 -1.78 8.66) color: lab(68.33 -1.78 8.66)
LCH lch(68.33 8.84 101.61) color: lch(68.33 8.84 101.61)

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.42:1
vs Black 8.68: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)

#A9A99B — rgb(169, 169, 155)

Deuteranopia (Green-blind)

#A9A99C — rgb(169, 169, 156)

Tritanopia (Blue-blind)

#AA9E9F — rgb(170, 158, 159)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(50, 10%, 63%);

text

color: hsl(50, 10%, 63%);

border

border: 2px solid hsl(50, 10%, 63%);

gradient light

background: linear-gradient(to right, hsl(50, 10%, 83%), hsl(50, 10%, 63%));

gradient dark

background: linear-gradient(to right, hsl(50, 10%, 63%), hsl(50, 10%, 43%))

hex

background-color: #AAA797;

tailwind

bg-[hsl(50,10%,63%)]

box shadow

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

css variable

--color-primary: hsl(50, 10%, 63%);

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(50, 10%, 63%)?

HEX: #AAA797 | RGB: rgb(170, 167, 151) | CMYK: 0%, 2%, 11%, 33% | HSV: 51°, 11%, 67%. Copy any format from the conversion table above.

What colors go well with #AAA797?

The complementary color is HSL(230, 10%, 63%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(50, 10%, 63%) in CSS?

As HSL: color: hsl(50, 10%, 63%); — As HEX: color: #AAA797; — As RGB: color: rgb(170, 167, 151); — Tailwind CSS: bg-[hsl(50,10%,63%)] — CSS variable: --color-primary: hsl(50, 10%, 63%);