HSL(47, 84%, 76%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,84%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 84%, 76%) | color: hsl(47, 84%, 76%) | |
| HEX | #F5DF8E | color: #F5DF8E | |
| RGB | rgb(245, 223, 142) | color: rgb(245, 223, 142) | |
| CMYK | cmyk(0%, 9%, 42%, 4%) | — | |
| HSV | hsv(47, 42%, 96%) | — | |
| HWB | hwb(47 56% 4%) | color: hwb(47 56% 4%) | |
| OKLCH | oklch(0.904 0.1036 94.71) | color: oklch(0.904 0.1036 94.71) | |
| Lab | lab(88.99 -3.33 42.38) | color: lab(88.99 -3.33 42.38) | |
| LCH | lch(88.99 42.51 94.49) | color: lch(88.99 42.51 94.49) |
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)
#EBEBA2 — rgb(235, 235, 162)
Deuteranopia (Green-blind)
#EDEEA6 — rgb(237, 238, 166)
Tritanopia (Blue-blind)
#F4B1B4 — rgb(244, 177, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 84%, 76%);
text
color: hsl(47, 84%, 76%);
border
border: 2px solid hsl(47, 84%, 76%);
gradient light
background: linear-gradient(to right, hsl(47, 84%, 96%), hsl(47, 84%, 76%));
gradient dark
background: linear-gradient(to right, hsl(47, 84%, 76%), hsl(47, 84%, 56%))
hex
background-color: #F5DF8E;
tailwind
bg-[hsl(47,84%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 84%, 76%, 0.4);
css variable
--color-primary: hsl(47, 84%, 76%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 84%, 76%)?
HEX: #F5DF8E | RGB: rgb(245, 223, 142) | CMYK: 0%, 9%, 42%, 4% | HSV: 47°, 42%, 96%. Copy any format from the conversion table above.
What colors go well with #F5DF8E?
The complementary color is HSL(227, 84%, 76%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 84%, 76%) in CSS?
As HSL: color: hsl(47, 84%, 76%); — As HEX: color: #F5DF8E; — As RGB: color: rgb(245, 223, 142); — Tailwind CSS: bg-[hsl(47,84%,76%)] — CSS variable: --color-primary: hsl(47, 84%, 76%);