HSL(52, 78%, 85%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,78%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 78%, 85%) | color: hsl(52, 78%, 85%) | |
| HEX | #F7EFBB | color: #F7EFBB | |
| RGB | rgb(247, 239, 187) | color: rgb(247, 239, 187) | |
| CMYK | cmyk(0%, 3%, 24%, 3%) | — | |
| HSV | hsv(52, 24%, 97%) | — | |
| HWB | hwb(52 74% 3%) | color: hwb(52 74% 3%) | |
| OKLCH | oklch(0.9458 0.0675 100.26) | color: oklch(0.9458 0.0675 100.26) | |
| Lab | lab(93.92 -5.31 26.19) | color: lab(93.92 -5.31 26.19) | |
| LCH | lch(93.92 26.72 101.46) | color: lch(93.92 26.72 101.46) |
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)
#F4F3C8 — rgb(244, 243, 200)
Deuteranopia (Green-blind)
#F4F5CB — rgb(244, 245, 203)
Tritanopia (Blue-blind)
#F7D2D4 — rgb(247, 210, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 78%, 85%);
text
color: hsl(52, 78%, 85%);
border
border: 2px solid hsl(52, 78%, 85%);
gradient light
background: linear-gradient(to right, hsl(52, 78%, 100%), hsl(52, 78%, 85%));
gradient dark
background: linear-gradient(to right, hsl(52, 78%, 85%), hsl(52, 78%, 65%))
hex
background-color: #F7EFBB;
tailwind
bg-[hsl(52,78%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 78%, 85%, 0.4);
css variable
--color-primary: hsl(52, 78%, 85%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 78%, 85%)?
HEX: #F7EFBB | RGB: rgb(247, 239, 187) | CMYK: 0%, 3%, 24%, 3% | HSV: 52°, 24%, 97%. Copy any format from the conversion table above.
What colors go well with #F7EFBB?
The complementary color is HSL(232, 78%, 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, 78%, 85%) in CSS?
As HSL: color: hsl(52, 78%, 85%); — As HEX: color: #F7EFBB; — As RGB: color: rgb(247, 239, 187); — Tailwind CSS: bg-[hsl(52,78%,85%)] — CSS variable: --color-primary: hsl(52, 78%, 85%);