HSL(59, 94%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,94%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 94%, 72%) | color: hsl(59, 94%, 72%) | |
| HEX | #FBF874 | color: #FBF874 | |
| RGB | rgb(251, 248, 116) | color: rgb(251, 248, 116) | |
| CMYK | cmyk(0%, 1%, 54%, 2%) | — | |
| HSV | hsv(59, 54%, 98%) | — | |
| HWB | hwb(59 45% 2%) | color: hwb(59 45% 2%) | |
| OKLCH | oklch(0.9561 0.1533 107.78) | color: oklch(0.9561 0.1533 107.78) | |
| Lab | lab(95.54 -15.67 62.68) | color: lab(95.54 -15.67 62.68) | |
| LCH | lch(95.54 64.61 104.04) | color: lch(95.54 64.61 104.04) |
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)
#FAFA94 — rgb(250, 250, 148)
Deuteranopia (Green-blind)
#FAFA9C — rgb(250, 250, 156)
Tritanopia (Blue-blind)
#FBADB3 — rgb(251, 173, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 94%, 72%);
text
color: hsl(59, 94%, 72%);
border
border: 2px solid hsl(59, 94%, 72%);
gradient light
background: linear-gradient(to right, hsl(59, 94%, 92%), hsl(59, 94%, 72%));
gradient dark
background: linear-gradient(to right, hsl(59, 94%, 72%), hsl(59, 94%, 52%))
hex
background-color: #FBF874;
tailwind
bg-[hsl(59,94%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 94%, 72%, 0.4);
css variable
--color-primary: hsl(59, 94%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 94%, 72%)?
HEX: #FBF874 | RGB: rgb(251, 248, 116) | CMYK: 0%, 1%, 54%, 2% | HSV: 59°, 54%, 98%. Copy any format from the conversion table above.
What colors go well with #FBF874?
The complementary color is HSL(239, 94%, 72%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 94%, 72%) in CSS?
As HSL: color: hsl(59, 94%, 72%); — As HEX: color: #FBF874; — As RGB: color: rgb(251, 248, 116); — Tailwind CSS: bg-[hsl(59,94%,72%)] — CSS variable: --color-primary: hsl(59, 94%, 72%);