HSL(61, 71%, 31%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(61,71%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(61, 71%, 31%) color: hsl(61, 71%, 31%)
HEX #858717 color: #858717
RGB rgb(133, 135, 23) color: rgb(133, 135, 23)
CMYK cmyk(1%, 0%, 83%, 47%)
HSV hsv(61, 83%, 53%)
HWB hwb(61 9% 47%) color: hwb(61 9% 47%)
OKLCH oklch(0.6024 0.1251 110.72) color: oklch(0.6024 0.1251 110.72)
Lab lab(54.42 -13.83 54.09) color: lab(54.42 -13.83 54.09)
LCH lch(54.42 55.83 104.34) color: lch(54.42 55.83 104.34)

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.84:1
vs Black 5.48: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)

#868632 — rgb(134, 134, 50)

Deuteranopia (Green-blind)

#868639 — rgb(134, 134, 57)

Tritanopia (Blue-blind)

#85474C — rgb(133, 71, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(61, 71%, 31%);

text

color: hsl(61, 71%, 31%);

border

border: 2px solid hsl(61, 71%, 31%);

gradient light

background: linear-gradient(to right, hsl(61, 71%, 51%), hsl(61, 71%, 31%));

gradient dark

background: linear-gradient(to right, hsl(61, 71%, 31%), hsl(61, 71%, 11%))

hex

background-color: #858717;

tailwind

bg-[hsl(61,71%,31%)]

box shadow

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

css variable

--color-primary: hsl(61, 71%, 31%);

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, 71%, 31%)?

HEX: #858717 | RGB: rgb(133, 135, 23) | CMYK: 1%, 0%, 83%, 47% | HSV: 61°, 83%, 53%. Copy any format from the conversion table above.

What colors go well with #858717?

The complementary color is HSL(241, 71%, 31%). 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, 71%, 31%) in CSS?

As HSL: color: hsl(61, 71%, 31%); — As HEX: color: #858717; — As RGB: color: rgb(133, 135, 23); — Tailwind CSS: bg-[hsl(61,71%,31%)] — CSS variable: --color-primary: hsl(61, 71%, 31%);