HSL(55, 30%, 52%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,30%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 30%, 52%) color: hsl(55, 30%, 52%)
HEX #A9A360 color: #A9A360
RGB rgb(169, 163, 96) color: rgb(169, 163, 96)
CMYK cmyk(0%, 4%, 43%, 34%)
HSV hsv(55, 43%, 66%)
HWB hwb(55 38% 34%) color: hwb(55 38% 34%)
OKLCH oklch(0.7052 0.0885 103.95) color: oklch(0.7052 0.0885 103.95)
Lab lab(66.12 -7.68 35.5) color: lab(66.12 -7.68 35.5)
LCH lch(66.12 36.32 102.21) color: lch(66.12 36.32 102.21)

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.59:1
vs Black 8.09: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)

#A6A670 — rgb(166, 166, 112)

Deuteranopia (Green-blind)

#A7A774 — rgb(167, 167, 116)

Tritanopia (Blue-blind)

#A97D80 — rgb(169, 125, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 30%, 52%);

text

color: hsl(55, 30%, 52%);

border

border: 2px solid hsl(55, 30%, 52%);

gradient light

background: linear-gradient(to right, hsl(55, 30%, 72%), hsl(55, 30%, 52%));

gradient dark

background: linear-gradient(to right, hsl(55, 30%, 52%), hsl(55, 30%, 32%))

hex

background-color: #A9A360;

tailwind

bg-[hsl(55,30%,52%)]

box shadow

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

css variable

--color-primary: hsl(55, 30%, 52%);

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(55, 30%, 52%)?

HEX: #A9A360 | RGB: rgb(169, 163, 96) | CMYK: 0%, 4%, 43%, 34% | HSV: 55°, 43%, 66%. Copy any format from the conversion table above.

What colors go well with #A9A360?

The complementary color is HSL(235, 30%, 52%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 30%, 52%) in CSS?

As HSL: color: hsl(55, 30%, 52%); — As HEX: color: #A9A360; — As RGB: color: rgb(169, 163, 96); — Tailwind CSS: bg-[hsl(55,30%,52%)] — CSS variable: --color-primary: hsl(55, 30%, 52%);