HSL(52, 100%, 85%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,100%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 100%, 85%) | color: hsl(52, 100%, 85%) | |
| HEX | #FFF5B3 | color: #FFF5B3 | |
| RGB | rgb(255, 245, 179) | color: rgb(255, 245, 179) | |
| CMYK | cmyk(0%, 4%, 30%, 0%) | — | |
| HSV | hsv(52, 30%, 100%) | — | |
| HWB | hwb(52 70% 0%) | color: hwb(52 70% 0%) | |
| OKLCH | oklch(0.9626 0.0842 100.53) | color: oklch(0.9626 0.0842 100.53) | |
| Lab | lab(95.92 -6.38 33.06) | color: lab(95.92 -6.38 33.06) | |
| LCH | lch(95.92 33.67 100.92) | color: lch(95.92 33.67 100.92) |
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)
#FBFBC3 — rgb(251, 251, 195)
Deuteranopia (Green-blind)
#FBFCC7 — rgb(251, 252, 199)
Tritanopia (Blue-blind)
#FFD0D2 — rgb(255, 208, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 100%, 85%);
text
color: hsl(52, 100%, 85%);
border
border: 2px solid hsl(52, 100%, 85%);
gradient light
background: linear-gradient(to right, hsl(52, 100%, 100%), hsl(52, 100%, 85%));
gradient dark
background: linear-gradient(to right, hsl(52, 100%, 85%), hsl(52, 100%, 65%))
hex
background-color: #FFF5B3;
tailwind
bg-[hsl(52,100%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 100%, 85%, 0.4);
css variable
--color-primary: hsl(52, 100%, 85%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 100%, 85%)?
HEX: #FFF5B3 | RGB: rgb(255, 245, 179) | CMYK: 0%, 4%, 30%, 0% | HSV: 52°, 30%, 100%. Copy any format from the conversion table above.
What colors go well with #FFF5B3?
The complementary color is HSL(232, 100%, 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, 100%, 85%) in CSS?
As HSL: color: hsl(52, 100%, 85%); — As HEX: color: #FFF5B3; — As RGB: color: rgb(255, 245, 179); — Tailwind CSS: bg-[hsl(52,100%,85%)] — CSS variable: --color-primary: hsl(52, 100%, 85%);