HSL(49, 92%, 22%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(49,92%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 92%, 22%) color: hsl(49, 92%, 22%)
HEX #6C5904 color: #6C5904
RGB rgb(108, 89, 4) color: rgb(108, 89, 4)
CMYK cmyk(0%, 18%, 96%, 58%)
HSV hsv(49, 96%, 42%)
HWB hwb(49 2% 58%) color: hwb(49 2% 58%)
OKLCH oklch(0.4693 0.0947 94.2) color: oklch(0.4693 0.0947 94.2)
Lab lab(38.45 -0.4 44.93) color: lab(38.45 -0.4 44.93)
LCH lch(38.45 44.93 90.51) color: lch(38.45 44.93 90.51)

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

#646419 — rgb(100, 100, 25)

Deuteranopia (Green-blind)

#65661E — rgb(101, 102, 30)

Tritanopia (Blue-blind)

#6B292C — rgb(107, 41, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 92%, 22%);

text

color: hsl(49, 92%, 22%);

border

border: 2px solid hsl(49, 92%, 22%);

gradient light

background: linear-gradient(to right, hsl(49, 92%, 42%), hsl(49, 92%, 22%));

gradient dark

background: linear-gradient(to right, hsl(49, 92%, 22%), hsl(49, 92%, 2%))

hex

background-color: #6C5904;

tailwind

bg-[hsl(49,92%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(49, 92%, 22%, 0.4);

css variable

--color-primary: hsl(49, 92%, 22%);

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(49, 92%, 22%)?

HEX: #6C5904 | RGB: rgb(108, 89, 4) | CMYK: 0%, 18%, 96%, 58% | HSV: 49°, 96%, 42%. Copy any format from the conversion table above.

What colors go well with #6C5904?

The complementary color is HSL(229, 92%, 22%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 92%, 22%) in CSS?

As HSL: color: hsl(49, 92%, 22%); — As HEX: color: #6C5904; — As RGB: color: rgb(108, 89, 4); — Tailwind CSS: bg-[hsl(49,92%,22%)] — CSS variable: --color-primary: hsl(49, 92%, 22%);