HSL(57, 57%, 52%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(57,57%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(57, 57%, 52%) color: hsl(57, 57%, 52%)
HEX #CAC33F color: #CAC33F
RGB rgb(202, 195, 63) color: rgb(202, 195, 63)
CMYK cmyk(0%, 3%, 69%, 21%)
HSV hsv(57, 69%, 79%)
HWB hwb(57 24% 21%) color: hwb(57 24% 21%)
OKLCH oklch(0.7994 0.1486 106.31) color: oklch(0.7994 0.1486 106.31)
Lab lab(77.25 -12.9 63.91) color: lab(77.25 -12.9 63.91)
LCH lch(77.25 65.2 101.41) color: lch(77.25 65.2 101.41)

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.39: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)

#C7C75F — rgb(199, 199, 95)

Deuteranopia (Green-blind)

#C7C867 — rgb(199, 200, 103)

Tritanopia (Blue-blind)

#CA787E — rgb(202, 120, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(57, 57%, 52%);

text

color: hsl(57, 57%, 52%);

border

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

gradient light

background: linear-gradient(to right, hsl(57, 57%, 72%), hsl(57, 57%, 52%));

gradient dark

background: linear-gradient(to right, hsl(57, 57%, 52%), hsl(57, 57%, 32%))

hex

background-color: #CAC33F;

tailwind

bg-[hsl(57,57%,52%)]

box shadow

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

css variable

--color-primary: hsl(57, 57%, 52%);

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, 57%, 52%)?

HEX: #CAC33F | RGB: rgb(202, 195, 63) | CMYK: 0%, 3%, 69%, 21% | HSV: 57°, 69%, 79%. Copy any format from the conversion table above.

What colors go well with #CAC33F?

The complementary color is HSL(237, 57%, 52%). 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, 57%, 52%) in CSS?

As HSL: color: hsl(57, 57%, 52%); — As HEX: color: #CAC33F; — As RGB: color: rgb(202, 195, 63); — Tailwind CSS: bg-[hsl(57,57%,52%)] — CSS variable: --color-primary: hsl(57, 57%, 52%);