HSL(52, 60%, 85%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,60%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 60%, 85%) | color: hsl(52, 60%, 85%) | |
| HEX | #F0EAC2 | color: #F0EAC2 | |
| RGB | rgb(240, 234, 194) | color: rgb(240, 234, 194) | |
| CMYK | cmyk(0%, 3%, 19%, 6%) | — | |
| HSV | hsv(52, 19%, 94%) | — | |
| HWB | hwb(52 76% 6%) | color: hwb(52 76% 6%) | |
| OKLCH | oklch(0.9317 0.0526 100.28) | color: oklch(0.9317 0.0526 100.28) | |
| Lab | lab(92.25 -4.36 20.19) | color: lab(92.25 -4.36 20.19) | |
| LCH | lch(92.25 20.66 102.19) | color: lch(92.25 20.66 102.19) |
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)
#EDEDCC — rgb(237, 237, 204)
Deuteranopia (Green-blind)
#EEEECE — rgb(238, 238, 206)
Tritanopia (Blue-blind)
#F0D3D5 — rgb(240, 211, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 60%, 85%);
text
color: hsl(52, 60%, 85%);
border
border: 2px solid hsl(52, 60%, 85%);
gradient light
background: linear-gradient(to right, hsl(52, 60%, 100%), hsl(52, 60%, 85%));
gradient dark
background: linear-gradient(to right, hsl(52, 60%, 85%), hsl(52, 60%, 65%))
hex
background-color: #F0EAC2;
tailwind
bg-[hsl(52,60%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 60%, 85%, 0.4);
css variable
--color-primary: hsl(52, 60%, 85%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 60%, 85%)?
HEX: #F0EAC2 | RGB: rgb(240, 234, 194) | CMYK: 0%, 3%, 19%, 6% | HSV: 52°, 19%, 94%. Copy any format from the conversion table above.
What colors go well with #F0EAC2?
The complementary color is HSL(232, 60%, 85%). 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, 60%, 85%) in CSS?
As HSL: color: hsl(52, 60%, 85%); — As HEX: color: #F0EAC2; — As RGB: color: rgb(240, 234, 194); — Tailwind CSS: bg-[hsl(52,60%,85%)] — CSS variable: --color-primary: hsl(52, 60%, 85%);