HSL(61, 61%, 40%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(61,61%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(61, 61%, 40%) color: hsl(61, 61%, 40%)
HEX #A2A428 color: #A2A428
RGB rgb(162, 164, 40) color: rgb(162, 164, 40)
CMYK cmyk(1%, 0%, 76%, 36%)
HSV hsv(61, 76%, 64%)
HWB hwb(61 15% 36%) color: hwb(61 15% 36%)
OKLCH oklch(0.6953 0.1393 110.48) color: oklch(0.6953 0.1393 110.48)
Lab lab(65.27 -15.4 59.47) color: lab(65.27 -15.4 59.47)
LCH lch(65.27 61.43 104.52) color: lch(65.27 61.43 104.52)

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

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A3A346 — rgb(163, 163, 70)

Deuteranopia (Green-blind)

#A3A34D — rgb(163, 163, 77)

Tritanopia (Blue-blind)

#A25E63 — rgb(162, 94, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(61, 61%, 40%);

text

color: hsl(61, 61%, 40%);

border

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

gradient light

background: linear-gradient(to right, hsl(61, 61%, 60%), hsl(61, 61%, 40%));

gradient dark

background: linear-gradient(to right, hsl(61, 61%, 40%), hsl(61, 61%, 20%))

hex

background-color: #A2A428;

tailwind

bg-[hsl(61,61%,40%)]

box shadow

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

css variable

--color-primary: hsl(61, 61%, 40%);

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, 61%, 40%)?

HEX: #A2A428 | RGB: rgb(162, 164, 40) | CMYK: 1%, 0%, 76%, 36% | HSV: 61°, 76%, 64%. Copy any format from the conversion table above.

What colors go well with #A2A428?

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

As HSL: color: hsl(61, 61%, 40%); — As HEX: color: #A2A428; — As RGB: color: rgb(162, 164, 40); — Tailwind CSS: bg-[hsl(61,61%,40%)] — CSS variable: --color-primary: hsl(61, 61%, 40%);