HSL(54, 89%, 73%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,89%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 89%, 73%) | color: hsl(54, 89%, 73%) | |
| HEX | #F7EB7D | color: #F7EB7D | |
| RGB | rgb(247, 235, 125) | color: rgb(247, 235, 125) | |
| CMYK | cmyk(0%, 5%, 49%, 3%) | — | |
| HSV | hsv(54, 49%, 97%) | — | |
| HWB | hwb(54 49% 3%) | color: hwb(54 49% 3%) | |
| OKLCH | oklch(0.9274 0.1323 103.06) | color: oklch(0.9274 0.1323 103.06) | |
| Lab | lab(91.99 -10.15 54.34) | color: lab(91.99 -10.15 54.34) | |
| LCH | lch(91.99 55.28 100.58) | color: lch(91.99 55.28 100.58) |
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)
#F2F298 — rgb(242, 242, 152)
Deuteranopia (Green-blind)
#F3F39E — rgb(243, 243, 158)
Tritanopia (Blue-blind)
#F6ADB1 — rgb(246, 173, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 89%, 73%);
text
color: hsl(54, 89%, 73%);
border
border: 2px solid hsl(54, 89%, 73%);
gradient light
background: linear-gradient(to right, hsl(54, 89%, 93%), hsl(54, 89%, 73%));
gradient dark
background: linear-gradient(to right, hsl(54, 89%, 73%), hsl(54, 89%, 53%))
hex
background-color: #F7EB7D;
tailwind
bg-[hsl(54,89%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 89%, 73%, 0.4);
css variable
--color-primary: hsl(54, 89%, 73%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 89%, 73%)?
HEX: #F7EB7D | RGB: rgb(247, 235, 125) | CMYK: 0%, 5%, 49%, 3% | HSV: 54°, 49%, 97%. Copy any format from the conversion table above.
What colors go well with #F7EB7D?
The complementary color is HSL(234, 89%, 73%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 89%, 73%) in CSS?
As HSL: color: hsl(54, 89%, 73%); — As HEX: color: #F7EB7D; — As RGB: color: rgb(247, 235, 125); — Tailwind CSS: bg-[hsl(54,89%,73%)] — CSS variable: --color-primary: hsl(54, 89%, 73%);