HSL(57, 100%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,100%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 100%, 72%) | color: hsl(57, 100%, 72%) | |
| HEX | #FFF870 | color: #FFF870 | |
| RGB | rgb(255, 248, 112) | color: rgb(255, 248, 112) | |
| CMYK | cmyk(0%, 3%, 56%, 0%) | — | |
| HSV | hsv(57, 56%, 100%) | — | |
| HWB | hwb(57 44% 0%) | color: hwb(57 44% 0%) | |
| OKLCH | oklch(0.959 0.1564 106.27) | color: oklch(0.959 0.1564 106.27) | |
| Lab | lab(95.82 -14.38 64.82) | color: lab(95.82 -14.38 64.82) | |
| LCH | lch(95.82 66.4 102.51) | color: lch(95.82 66.4 102.51) |
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)
#FCFC91 — rgb(252, 252, 145)
Deuteranopia (Green-blind)
#FCFD99 — rgb(252, 253, 153)
Tritanopia (Blue-blind)
#FFABB1 — rgb(255, 171, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 100%, 72%);
text
color: hsl(57, 100%, 72%);
border
border: 2px solid hsl(57, 100%, 72%);
gradient light
background: linear-gradient(to right, hsl(57, 100%, 92%), hsl(57, 100%, 72%));
gradient dark
background: linear-gradient(to right, hsl(57, 100%, 72%), hsl(57, 100%, 52%))
hex
background-color: #FFF870;
tailwind
bg-[hsl(57,100%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 100%, 72%, 0.4);
css variable
--color-primary: hsl(57, 100%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 100%, 72%)?
HEX: #FFF870 | RGB: rgb(255, 248, 112) | CMYK: 0%, 3%, 56%, 0% | HSV: 57°, 56%, 100%. Copy any format from the conversion table above.
What colors go well with #FFF870?
The complementary color is HSL(237, 100%, 72%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 100%, 72%) in CSS?
As HSL: color: hsl(57, 100%, 72%); — As HEX: color: #FFF870; — As RGB: color: rgb(255, 248, 112); — Tailwind CSS: bg-[hsl(57,100%,72%)] — CSS variable: --color-primary: hsl(57, 100%, 72%);