HSL(52, 37%, 68%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,37%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 37%, 68%) color: hsl(52, 37%, 68%)
HEX #CCC48F color: #CCC48F
RGB rgb(204, 196, 143) color: rgb(204, 196, 143)
CMYK cmyk(0%, 4%, 30%, 20%)
HSV hsv(52, 30%, 80%)
HWB hwb(52 56% 20%) color: hwb(52 56% 20%)
OKLCH oklch(0.814 0.0706 100.55) color: oklch(0.814 0.0706 100.55)
Lab lab(78.64 -5.37 27.68) color: lab(78.64 -5.37 27.68)
LCH lch(78.64 28.2 100.98) color: lch(78.64 28.2 100.98)

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.77:1
vs Black 11.86: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)

#C9C89C — rgb(201, 200, 156)

Deuteranopia (Green-blind)

#C9CA9F — rgb(201, 202, 159)

Tritanopia (Blue-blind)

#CCA6A8 — rgb(204, 166, 168)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 37%, 68%);

text

color: hsl(52, 37%, 68%);

border

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

gradient light

background: linear-gradient(to right, hsl(52, 37%, 88%), hsl(52, 37%, 68%));

gradient dark

background: linear-gradient(to right, hsl(52, 37%, 68%), hsl(52, 37%, 48%))

hex

background-color: #CCC48F;

tailwind

bg-[hsl(52,37%,68%)]

box shadow

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

css variable

--color-primary: hsl(52, 37%, 68%);

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(52, 37%, 68%)?

HEX: #CCC48F | RGB: rgb(204, 196, 143) | CMYK: 0%, 4%, 30%, 20% | HSV: 52°, 30%, 80%. Copy any format from the conversion table above.

What colors go well with #CCC48F?

The complementary color is HSL(232, 37%, 68%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 37%, 68%) in CSS?

As HSL: color: hsl(52, 37%, 68%); — As HEX: color: #CCC48F; — As RGB: color: rgb(204, 196, 143); — Tailwind CSS: bg-[hsl(52,37%,68%)] — CSS variable: --color-primary: hsl(52, 37%, 68%);