HSL(55, 70%, 35%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,70%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 70%, 35%) color: hsl(55, 70%, 35%)
HEX #988D1B color: #988D1B
RGB rgb(152, 141, 27) color: rgb(152, 141, 27)
CMYK cmyk(0%, 7%, 82%, 40%)
HSV hsv(55, 82%, 60%)
HWB hwb(55 11% 40%) color: hwb(55 11% 40%)
OKLCH oklch(0.6338 0.1257 103.49) color: oklch(0.6338 0.1257 103.49)
Lab lab(57.85 -8.23 56.56) color: lab(57.85 -8.23 56.56)
LCH lch(57.85 57.16 98.28) color: lch(57.85 57.16 98.28)

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.41:1
vs Black 6.16: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)

#939337 — rgb(147, 147, 55)

Deuteranopia (Green-blind)

#94953D — rgb(148, 149, 61)

Tritanopia (Blue-blind)

#974C51 — rgb(151, 76, 81)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 70%, 35%);

text

color: hsl(55, 70%, 35%);

border

border: 2px solid hsl(55, 70%, 35%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(55, 70%, 35%), hsl(55, 70%, 15%))

hex

background-color: #988D1B;

tailwind

bg-[hsl(55,70%,35%)]

box shadow

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

css variable

--color-primary: hsl(55, 70%, 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(55, 70%, 35%)?

HEX: #988D1B | RGB: rgb(152, 141, 27) | CMYK: 0%, 7%, 82%, 40% | HSV: 55°, 82%, 60%. Copy any format from the conversion table above.

What colors go well with #988D1B?

The complementary color is HSL(235, 70%, 35%). 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, 70%, 35%) in CSS?

As HSL: color: hsl(55, 70%, 35%); — As HEX: color: #988D1B; — As RGB: color: rgb(152, 141, 27); — Tailwind CSS: bg-[hsl(55,70%,35%)] — CSS variable: --color-primary: hsl(55, 70%, 35%);