HSL(47, 50%, 62%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(47,50%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(47, 50%, 62%) color: hsl(47, 50%, 62%)
HEX #CFBA6E color: #CFBA6E
RGB rgb(207, 186, 110) color: rgb(207, 186, 110)
CMYK cmyk(0%, 10%, 47%, 19%)
HSV hsv(47, 47%, 81%)
HWB hwb(47 43% 19%) color: hwb(47 43% 19%)
OKLCH oklch(0.7902 0.0992 94.41) color: oklch(0.7902 0.0992 94.41)
Lab lab(75.77 -2.68 41.08) color: lab(75.77 -2.68 41.08)
LCH lch(75.77 41.17 93.73) color: lch(75.77 41.17 93.73)

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 1.93:1
vs Black 10.9: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)

#C6C680 — rgb(198, 198, 128)

Deuteranopia (Green-blind)

#C7C985 — rgb(199, 201, 133)

Tritanopia (Blue-blind)

#CE8F92 — rgb(206, 143, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(47, 50%, 62%);

text

color: hsl(47, 50%, 62%);

border

border: 2px solid hsl(47, 50%, 62%);

gradient light

background: linear-gradient(to right, hsl(47, 50%, 82%), hsl(47, 50%, 62%));

gradient dark

background: linear-gradient(to right, hsl(47, 50%, 62%), hsl(47, 50%, 42%))

hex

background-color: #CFBA6E;

tailwind

bg-[hsl(47,50%,62%)]

box shadow

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

css variable

--color-primary: hsl(47, 50%, 62%);

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, 50%, 62%)?

HEX: #CFBA6E | RGB: rgb(207, 186, 110) | CMYK: 0%, 10%, 47%, 19% | HSV: 47°, 47%, 81%. Copy any format from the conversion table above.

What colors go well with #CFBA6E?

The complementary color is HSL(227, 50%, 62%). 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, 50%, 62%) in CSS?

As HSL: color: hsl(47, 50%, 62%); — As HEX: color: #CFBA6E; — As RGB: color: rgb(207, 186, 110); — Tailwind CSS: bg-[hsl(47,50%,62%)] — CSS variable: --color-primary: hsl(47, 50%, 62%);