HSL(57, 70%, 47%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(57,70%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(57, 70%, 47%) color: hsl(57, 70%, 47%)
HEX #CCC324 color: #CCC324
RGB rgb(204, 195, 36) color: rgb(204, 195, 36)
CMYK cmyk(0%, 4%, 82%, 20%)
HSV hsv(57, 82%, 80%)
HWB hwb(57 14% 20%) color: hwb(57 14% 20%)
OKLCH oklch(0.7996 0.1624 106.01) color: oklch(0.7996 0.1624 106.01)
Lab lab(77.28 -13.13 72.59) color: lab(77.28 -13.13 72.59)
LCH lch(77.28 73.77 100.25) color: lch(77.28 73.77 100.25)

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

#C8C84A — rgb(200, 200, 74)

Deuteranopia (Green-blind)

#C9C954 — rgb(201, 201, 84)

Tritanopia (Blue-blind)

#CC6970 — rgb(204, 105, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(57, 70%, 47%);

text

color: hsl(57, 70%, 47%);

border

border: 2px solid hsl(57, 70%, 47%);

gradient light

background: linear-gradient(to right, hsl(57, 70%, 67%), hsl(57, 70%, 47%));

gradient dark

background: linear-gradient(to right, hsl(57, 70%, 47%), hsl(57, 70%, 27%))

hex

background-color: #CCC324;

tailwind

bg-[hsl(57,70%,47%)]

box shadow

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

css variable

--color-primary: hsl(57, 70%, 47%);

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(57, 70%, 47%)?

HEX: #CCC324 | RGB: rgb(204, 195, 36) | CMYK: 0%, 4%, 82%, 20% | HSV: 57°, 82%, 80%. Copy any format from the conversion table above.

What colors go well with #CCC324?

The complementary color is HSL(237, 70%, 47%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(57, 70%, 47%) in CSS?

As HSL: color: hsl(57, 70%, 47%); — As HEX: color: #CCC324; — As RGB: color: rgb(204, 195, 36); — Tailwind CSS: bg-[hsl(57,70%,47%)] — CSS variable: --color-primary: hsl(57, 70%, 47%);