HSL(61, 52%, 31%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(61, 52%, 31%) color: hsl(61, 52%, 31%)
HEX #777826 color: #777826
RGB rgb(119, 120, 38) color: rgb(119, 120, 38)
CMYK cmyk(1%, 0%, 68%, 53%)
HSV hsv(61, 68%, 47%)
HWB hwb(61 15% 53%) color: hwb(61 15% 53%)
OKLCH oklch(0.5554 0.1031 110.01) color: oklch(0.5554 0.1031 110.01)
Lab lab(48.88 -11.41 43.03) color: lab(48.88 -11.41 43.03)
LCH lch(48.88 44.52 104.85) color: lch(48.88 44.52 104.85)

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

AA Normal (4.5:1)

on White: PASS ✓ 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: white

Color Blindness Simulation

Protanopia (Red-blind)

#77773A — rgb(119, 119, 58)

Deuteranopia (Green-blind)

#77773F — rgb(119, 119, 63)

Tritanopia (Blue-blind)

#774A4D — rgb(119, 74, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #777826;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(61, 52%, 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, 52%, 31%)?

HEX: #777826 | RGB: rgb(119, 120, 38) | CMYK: 1%, 0%, 68%, 53% | HSV: 61°, 68%, 47%. Copy any format from the conversion table above.

What colors go well with #777826?

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

As HSL: color: hsl(61, 52%, 31%); — As HEX: color: #777826; — As RGB: color: rgb(119, 120, 38); — Tailwind CSS: bg-[hsl(61,52%,31%)] — CSS variable: --color-primary: hsl(61, 52%, 31%);