HSL(52, 91%, 82%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,91%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 91%, 82%) | color: hsl(52, 91%, 82%) | |
| HEX | #FBF0A7 | color: #FBF0A7 | |
| RGB | rgb(251, 240, 167) | color: rgb(251, 240, 167) | |
| CMYK | cmyk(0%, 4%, 33%, 2%) | — | |
| HSV | hsv(52, 33%, 98%) | — | |
| HWB | hwb(52 66% 2%) | color: hwb(52 66% 2%) | |
| OKLCH | oklch(0.9472 0.0927 100.65) | color: oklch(0.9472 0.0927 100.65) | |
| Lab | lab(94.15 -6.83 36.68) | color: lab(94.15 -6.83 36.68) | |
| LCH | lch(94.15 37.31 100.55) | color: lch(94.15 37.31 100.55) |
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)
#F6F6B9 — rgb(246, 246, 185)
Deuteranopia (Green-blind)
#F7F8BD — rgb(247, 248, 189)
Tritanopia (Blue-blind)
#FAC7CA — rgb(250, 199, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 91%, 82%);
text
color: hsl(52, 91%, 82%);
border
border: 2px solid hsl(52, 91%, 82%);
gradient light
background: linear-gradient(to right, hsl(52, 91%, 100%), hsl(52, 91%, 82%));
gradient dark
background: linear-gradient(to right, hsl(52, 91%, 82%), hsl(52, 91%, 62%))
hex
background-color: #FBF0A7;
tailwind
bg-[hsl(52,91%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 91%, 82%, 0.4);
css variable
--color-primary: hsl(52, 91%, 82%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 91%, 82%)?
HEX: #FBF0A7 | RGB: rgb(251, 240, 167) | CMYK: 0%, 4%, 33%, 2% | HSV: 52°, 33%, 98%. Copy any format from the conversion table above.
What colors go well with #FBF0A7?
The complementary color is HSL(232, 91%, 82%). 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, 91%, 82%) in CSS?
As HSL: color: hsl(52, 91%, 82%); — As HEX: color: #FBF0A7; — As RGB: color: rgb(251, 240, 167); — Tailwind CSS: bg-[hsl(52,91%,82%)] — CSS variable: --color-primary: hsl(52, 91%, 82%);