HSL(52, 84%, 63%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,84%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 84%, 63%) | color: hsl(52, 84%, 63%) | |
| HEX | #F0DB51 | color: #F0DB51 | |
| RGB | rgb(240, 219, 81) | color: rgb(240, 219, 81) | |
| CMYK | cmyk(0%, 9%, 66%, 6%) | — | |
| HSV | hsv(52, 66%, 94%) | — | |
| HWB | hwb(52 32% 6%) | color: hwb(52 32% 6%) | |
| OKLCH | oklch(0.8842 0.1551 100.56) | color: oklch(0.8842 0.1551 100.56) | |
| Lab | lab(86.89 -8.11 67.74) | color: lab(86.89 -8.11 67.74) | |
| LCH | lch(86.89 68.22 96.83) | color: lch(86.89 68.22 96.83) |
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)
#E7E772 — rgb(231, 231, 114)
Deuteranopia (Green-blind)
#E8EA7A — rgb(232, 234, 122)
Tritanopia (Blue-blind)
#EF8D93 — rgb(239, 141, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 84%, 63%);
text
color: hsl(52, 84%, 63%);
border
border: 2px solid hsl(52, 84%, 63%);
gradient light
background: linear-gradient(to right, hsl(52, 84%, 83%), hsl(52, 84%, 63%));
gradient dark
background: linear-gradient(to right, hsl(52, 84%, 63%), hsl(52, 84%, 43%))
hex
background-color: #F0DB51;
tailwind
bg-[hsl(52,84%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 84%, 63%, 0.4);
css variable
--color-primary: hsl(52, 84%, 63%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 84%, 63%)?
HEX: #F0DB51 | RGB: rgb(240, 219, 81) | CMYK: 0%, 9%, 66%, 6% | HSV: 52°, 66%, 94%. Copy any format from the conversion table above.
What colors go well with #F0DB51?
The complementary color is HSL(232, 84%, 63%). 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, 84%, 63%) in CSS?
As HSL: color: hsl(52, 84%, 63%); — As HEX: color: #F0DB51; — As RGB: color: rgb(240, 219, 81); — Tailwind CSS: bg-[hsl(52,84%,63%)] — CSS variable: --color-primary: hsl(52, 84%, 63%);