HSL(50, 89%, 70%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,89%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 89%, 70%) | color: hsl(50, 89%, 70%) | |
| HEX | #F7E06E | color: #F7E06E | |
| RGB | rgb(247, 224, 110) | color: rgb(247, 224, 110) | |
| CMYK | cmyk(0%, 9%, 55%, 3%) | — | |
| HSV | hsv(50, 55%, 97%) | — | |
| HWB | hwb(50 44% 3%) | color: hwb(50 44% 3%) | |
| OKLCH | oklch(0.9034 0.1363 98.09) | color: oklch(0.9034 0.1363 98.09) | |
| Lab | lab(89.02 -5.87 57.79) | color: lab(89.02 -5.87 57.79) | |
| LCH | lch(89.02 58.09 95.8) | color: lch(89.02 58.09 95.8) |
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)
#EDED8A — rgb(237, 237, 138)
Deuteranopia (Green-blind)
#EEF090 — rgb(238, 240, 144)
Tritanopia (Blue-blind)
#F69FA4 — rgb(246, 159, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 89%, 70%);
text
color: hsl(50, 89%, 70%);
border
border: 2px solid hsl(50, 89%, 70%);
gradient light
background: linear-gradient(to right, hsl(50, 89%, 90%), hsl(50, 89%, 70%));
gradient dark
background: linear-gradient(to right, hsl(50, 89%, 70%), hsl(50, 89%, 50%))
hex
background-color: #F7E06E;
tailwind
bg-[hsl(50,89%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 89%, 70%, 0.4);
css variable
--color-primary: hsl(50, 89%, 70%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 89%, 70%)?
HEX: #F7E06E | RGB: rgb(247, 224, 110) | CMYK: 0%, 9%, 55%, 3% | HSV: 50°, 55%, 97%. Copy any format from the conversion table above.
What colors go well with #F7E06E?
The complementary color is HSL(230, 89%, 70%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(50, 89%, 70%) in CSS?
As HSL: color: hsl(50, 89%, 70%); — As HEX: color: #F7E06E; — As RGB: color: rgb(247, 224, 110); — Tailwind CSS: bg-[hsl(50,89%,70%)] — CSS variable: --color-primary: hsl(50, 89%, 70%);