HSL(56, 26%, 71%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(56, 26%, 71%) color: hsl(56, 26%, 71%)
HEX #C8C6A2 color: #C8C6A2
RGB rgb(200, 198, 162) color: rgb(200, 198, 162)
CMYK cmyk(0%, 1%, 19%, 22%)
HSV hsv(57, 19%, 78%)
HWB hwb(57 63% 22%) color: hwb(57 63% 22%)
OKLCH oklch(0.8188 0.0486 104.79) color: oklch(0.8188 0.0486 104.79)
Lab lab(79.2 -5.29 18.34) color: lab(79.2 -5.29 18.34)
LCH lch(79.2 19.09 106.09) color: lch(79.2 19.09 106.09)

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.74:1
vs Black 12.06: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)

#C7C7AB — rgb(199, 199, 171)

Deuteranopia (Green-blind)

#C7C7AD — rgb(199, 199, 173)

Tritanopia (Blue-blind)

#C8B2B3 — rgb(200, 178, 179)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(56, 26%, 91%), hsl(56, 26%, 71%));

gradient dark

background: linear-gradient(to right, hsl(56, 26%, 71%), hsl(56, 26%, 51%))

hex

background-color: #C8C6A2;

tailwind

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

box shadow

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

css variable

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

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, 26%, 71%)?

HEX: #C8C6A2 | RGB: rgb(200, 198, 162) | CMYK: 0%, 1%, 19%, 22% | HSV: 57°, 19%, 78%. Copy any format from the conversion table above.

What colors go well with #C8C6A2?

The complementary color is HSL(236, 26%, 71%). 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, 26%, 71%) in CSS?

As HSL: color: hsl(56, 26%, 71%); — As HEX: color: #C8C6A2; — As RGB: color: rgb(200, 198, 162); — Tailwind CSS: bg-[hsl(56,26%,71%)] — CSS variable: --color-primary: hsl(56, 26%, 71%);