HSL(47, 95%, 22%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(47,95%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(47, 95%, 22%) color: hsl(47, 95%, 22%)
HEX #6D5603 color: #6D5603
RGB rgb(109, 86, 3) color: rgb(109, 86, 3)
CMYK cmyk(0%, 21%, 97%, 57%)
HSV hsv(47, 97%, 43%)
HWB hwb(47 1% 57%) color: hwb(47 1% 57%)
OKLCH oklch(0.4635 0.0935 90.42) color: oklch(0.4635 0.0935 90.42)
Lab lab(37.69 1.86 44.71) color: lab(37.69 1.86 44.71)
LCH lch(37.69 44.75 87.62) color: lch(37.69 44.75 87.62)

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 7.04:1
vs Black 2.98:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#636317 — rgb(99, 99, 23)

Deuteranopia (Green-blind)

#64661C — rgb(100, 102, 28)

Tritanopia (Blue-blind)

#6C272A — rgb(108, 39, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(47, 95%, 22%);

text

color: hsl(47, 95%, 22%);

border

border: 2px solid hsl(47, 95%, 22%);

gradient light

background: linear-gradient(to right, hsl(47, 95%, 42%), hsl(47, 95%, 22%));

gradient dark

background: linear-gradient(to right, hsl(47, 95%, 22%), hsl(47, 95%, 2%))

hex

background-color: #6D5603;

tailwind

bg-[hsl(47,95%,22%)]

box shadow

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

css variable

--color-primary: hsl(47, 95%, 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(47, 95%, 22%)?

HEX: #6D5603 | RGB: rgb(109, 86, 3) | CMYK: 0%, 21%, 97%, 57% | HSV: 47°, 97%, 43%. Copy any format from the conversion table above.

What colors go well with #6D5603?

The complementary color is HSL(227, 95%, 22%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(47, 95%, 22%) in CSS?

As HSL: color: hsl(47, 95%, 22%); — As HEX: color: #6D5603; — As RGB: color: rgb(109, 86, 3); — Tailwind CSS: bg-[hsl(47,95%,22%)] — CSS variable: --color-primary: hsl(47, 95%, 22%);