HSL(61, 45%, 25%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(61,45%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(61, 45%, 25%) color: hsl(61, 45%, 25%)
HEX #5B5C23 color: #5B5C23
RGB rgb(91, 92, 35) color: rgb(91, 92, 35)
CMYK cmyk(1%, 0%, 62%, 64%)
HSV hsv(61, 62%, 36%)
HWB hwb(61 14% 64%) color: hwb(61 14% 64%)
OKLCH oklch(0.4611 0.0784 110.05) color: oklch(0.4611 0.0784 110.05)
Lab lab(37.84 -8.97 31.93) color: lab(37.84 -8.97 31.93)
LCH lch(37.84 33.17 105.69) color: lch(37.84 33.17 105.69)

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 7:1
vs Black 3:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5B5B31 — rgb(91, 91, 49)

Deuteranopia (Green-blind)

#5B5B34 — rgb(91, 91, 52)

Tritanopia (Blue-blind)

#5B3C3E — rgb(91, 60, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(61, 45%, 25%);

text

color: hsl(61, 45%, 25%);

border

border: 2px solid hsl(61, 45%, 25%);

gradient light

background: linear-gradient(to right, hsl(61, 45%, 45%), hsl(61, 45%, 25%));

gradient dark

background: linear-gradient(to right, hsl(61, 45%, 25%), hsl(61, 45%, 5%))

hex

background-color: #5B5C23;

tailwind

bg-[hsl(61,45%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(61, 45%, 25%, 0.4);

css variable

--color-primary: hsl(61, 45%, 25%);

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(61, 45%, 25%)?

HEX: #5B5C23 | RGB: rgb(91, 92, 35) | CMYK: 1%, 0%, 62%, 64% | HSV: 61°, 62%, 36%. Copy any format from the conversion table above.

What colors go well with #5B5C23?

The complementary color is HSL(241, 45%, 25%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(61, 45%, 25%) in CSS?

As HSL: color: hsl(61, 45%, 25%); — As HEX: color: #5B5C23; — As RGB: color: rgb(91, 92, 35); — Tailwind CSS: bg-[hsl(61,45%,25%)] — CSS variable: --color-primary: hsl(61, 45%, 25%);