HSL(52, 58%, 37%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,58%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 58%, 37%) color: hsl(52, 58%, 37%)
HEX #958628 color: #958628
RGB rgb(149, 134, 40) color: rgb(149, 134, 40)
CMYK cmyk(0%, 10%, 73%, 42%)
HSV hsv(52, 73%, 58%)
HWB hwb(52 16% 42%) color: hwb(52 16% 42%)
OKLCH oklch(0.6161 0.1125 99.96) color: oklch(0.6161 0.1125 99.96)
Lab lab(55.68 -5.24 49.93) color: lab(55.68 -5.24 49.93)
LCH lch(55.68 50.2 95.99) color: lch(55.68 50.2 95.99)

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.67:1
vs Black 5.72: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)

#8F8E3F — rgb(143, 142, 63)

Deuteranopia (Green-blind)

#8F9144 — rgb(143, 145, 68)

Tritanopia (Blue-blind)

#945155 — rgb(148, 81, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 58%, 37%);

text

color: hsl(52, 58%, 37%);

border

border: 2px solid hsl(52, 58%, 37%);

gradient light

background: linear-gradient(to right, hsl(52, 58%, 57%), hsl(52, 58%, 37%));

gradient dark

background: linear-gradient(to right, hsl(52, 58%, 37%), hsl(52, 58%, 17%))

hex

background-color: #958628;

tailwind

bg-[hsl(52,58%,37%)]

box shadow

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

css variable

--color-primary: hsl(52, 58%, 37%);

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(52, 58%, 37%)?

HEX: #958628 | RGB: rgb(149, 134, 40) | CMYK: 0%, 10%, 73%, 42% | HSV: 52°, 73%, 58%. Copy any format from the conversion table above.

What colors go well with #958628?

The complementary color is HSL(232, 58%, 37%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 58%, 37%) in CSS?

As HSL: color: hsl(52, 58%, 37%); — As HEX: color: #958628; — As RGB: color: rgb(149, 134, 40); — Tailwind CSS: bg-[hsl(52,58%,37%)] — CSS variable: --color-primary: hsl(52, 58%, 37%);