HSL(53, 54%, 39%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(53,54%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(53, 54%, 39%) color: hsl(53, 54%, 39%)
HEX #998D2E color: #998D2E
RGB rgb(153, 141, 46) color: rgb(153, 141, 46)
CMYK cmyk(0%, 8%, 70%, 40%)
HSV hsv(53, 70%, 60%)
HWB hwb(53 18% 40%) color: hwb(53 18% 40%)
OKLCH oklch(0.636 0.1143 102.02) color: oklch(0.636 0.1143 102.02)
Lab lab(58.06 -6.93 49.97) color: lab(58.06 -6.93 49.97)
LCH lch(58.06 50.45 97.9) color: lch(58.06 50.45 97.9)

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.38:1
vs Black 6.2: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)

#949445 — rgb(148, 148, 69)

Deuteranopia (Green-blind)

#95954B — rgb(149, 149, 75)

Tritanopia (Blue-blind)

#98575B — rgb(152, 87, 91)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(53, 54%, 39%);

text

color: hsl(53, 54%, 39%);

border

border: 2px solid hsl(53, 54%, 39%);

gradient light

background: linear-gradient(to right, hsl(53, 54%, 59%), hsl(53, 54%, 39%));

gradient dark

background: linear-gradient(to right, hsl(53, 54%, 39%), hsl(53, 54%, 19%))

hex

background-color: #998D2E;

tailwind

bg-[hsl(53,54%,39%)]

box shadow

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

css variable

--color-primary: hsl(53, 54%, 39%);

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(53, 54%, 39%)?

HEX: #998D2E | RGB: rgb(153, 141, 46) | CMYK: 0%, 8%, 70%, 40% | HSV: 53°, 70%, 60%. Copy any format from the conversion table above.

What colors go well with #998D2E?

The complementary color is HSL(233, 54%, 39%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(53, 54%, 39%) in CSS?

As HSL: color: hsl(53, 54%, 39%); — As HEX: color: #998D2E; — As RGB: color: rgb(153, 141, 46); — Tailwind CSS: bg-[hsl(53,54%,39%)] — CSS variable: --color-primary: hsl(53, 54%, 39%);