HSL(54, 89%, 35%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(54,89%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(54, 89%, 35%) color: hsl(54, 89%, 35%)
HEX #A9990A color: #A9990A
RGB rgb(169, 153, 10) color: rgb(169, 153, 10)
CMYK cmyk(0%, 9%, 94%, 34%)
HSV hsv(54, 94%, 66%)
HWB hwb(54 4% 34%) color: hwb(54 4% 34%)
OKLCH oklch(0.6761 0.1395 101.81) color: oklch(0.6761 0.1395 101.81)
Lab lab(62.71 -7.33 64.8) color: lab(62.71 -7.33 64.8)
LCH lch(62.71 65.21 96.45) color: lch(62.71 65.21 96.45)

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.9:1
vs Black 7.25: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)

#A2A22D — rgb(162, 162, 45)

Deuteranopia (Green-blind)

#A3A435 — rgb(163, 164, 53)

Tritanopia (Blue-blind)

#A8484E — rgb(168, 72, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(54, 89%, 35%);

text

color: hsl(54, 89%, 35%);

border

border: 2px solid hsl(54, 89%, 35%);

gradient light

background: linear-gradient(to right, hsl(54, 89%, 55%), hsl(54, 89%, 35%));

gradient dark

background: linear-gradient(to right, hsl(54, 89%, 35%), hsl(54, 89%, 15%))

hex

background-color: #A9990A;

tailwind

bg-[hsl(54,89%,35%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(54, 89%, 35%, 0.4);

css variable

--color-primary: hsl(54, 89%, 35%);

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(54, 89%, 35%)?

HEX: #A9990A | RGB: rgb(169, 153, 10) | CMYK: 0%, 9%, 94%, 34% | HSV: 54°, 94%, 66%. Copy any format from the conversion table above.

What colors go well with #A9990A?

The complementary color is HSL(234, 89%, 35%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(54, 89%, 35%) in CSS?

As HSL: color: hsl(54, 89%, 35%); — As HEX: color: #A9990A; — As RGB: color: rgb(169, 153, 10); — Tailwind CSS: bg-[hsl(54,89%,35%)] — CSS variable: --color-primary: hsl(54, 89%, 35%);