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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);