HSL(56, 60%, 26%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,60%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 60%, 26%) color: hsl(56, 60%, 26%)
HEX #6A651B color: #6A651B
RGB rgb(106, 101, 27) color: rgb(106, 101, 27)
CMYK cmyk(0%, 5%, 75%, 58%)
HSV hsv(56, 75%, 42%)
HWB hwb(56 11% 58%) color: hwb(56 11% 58%)
OKLCH oklch(0.4968 0.093 105.45) color: oklch(0.4968 0.093 105.45)
Lab lab(41.92 -7.53 40.34) color: lab(41.92 -7.53 40.34)
LCH lch(41.92 41.04 100.57) color: lch(41.92 41.04 100.57)

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 6.02:1
vs Black 3.49: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: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#68682D — rgb(104, 104, 45)

Deuteranopia (Green-blind)

#686931 — rgb(104, 105, 49)

Tritanopia (Blue-blind)

#6A3B3E — rgb(106, 59, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 60%, 26%);

text

color: hsl(56, 60%, 26%);

border

border: 2px solid hsl(56, 60%, 26%);

gradient light

background: linear-gradient(to right, hsl(56, 60%, 46%), hsl(56, 60%, 26%));

gradient dark

background: linear-gradient(to right, hsl(56, 60%, 26%), hsl(56, 60%, 6%))

hex

background-color: #6A651B;

tailwind

bg-[hsl(56,60%,26%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 60%, 26%, 0.4);

css variable

--color-primary: hsl(56, 60%, 26%);

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(56, 60%, 26%)?

HEX: #6A651B | RGB: rgb(106, 101, 27) | CMYK: 0%, 5%, 75%, 58% | HSV: 56°, 75%, 42%. Copy any format from the conversion table above.

What colors go well with #6A651B?

The complementary color is HSL(236, 60%, 26%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 60%, 26%) in CSS?

As HSL: color: hsl(56, 60%, 26%); — As HEX: color: #6A651B; — As RGB: color: rgb(106, 101, 27); — Tailwind CSS: bg-[hsl(56,60%,26%)] — CSS variable: --color-primary: hsl(56, 60%, 26%);