HSL(55, 80%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,80%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 80%, 71%) | color: hsl(55, 80%, 71%) | |
| HEX | #F0E67A | color: #F0E67A | |
| RGB | rgb(240, 230, 122) | color: rgb(240, 230, 122) | |
| CMYK | cmyk(0%, 4%, 49%, 6%) | — | |
| HSV | hsv(55, 49%, 94%) | — | |
| HWB | hwb(55 48% 6%) | color: hwb(55 48% 6%) | |
| OKLCH | oklch(0.911 0.1304 103.93) | color: oklch(0.911 0.1304 103.93) | |
| Lab | lab(90.1 -10.71 53.36) | color: lab(90.1 -10.71 53.36) | |
| LCH | lch(90.1 54.42 101.35) | color: lch(90.1 54.42 101.35) |
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)
#ECEC94 — rgb(236, 236, 148)
Deuteranopia (Green-blind)
#ECED9A — rgb(236, 237, 154)
Tritanopia (Blue-blind)
#F0A9AD — rgb(240, 169, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 80%, 71%);
text
color: hsl(55, 80%, 71%);
border
border: 2px solid hsl(55, 80%, 71%);
gradient light
background: linear-gradient(to right, hsl(55, 80%, 91%), hsl(55, 80%, 71%));
gradient dark
background: linear-gradient(to right, hsl(55, 80%, 71%), hsl(55, 80%, 51%))
hex
background-color: #F0E67A;
tailwind
bg-[hsl(55,80%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 80%, 71%, 0.4);
css variable
--color-primary: hsl(55, 80%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 80%, 71%)?
HEX: #F0E67A | RGB: rgb(240, 230, 122) | CMYK: 0%, 4%, 49%, 6% | HSV: 55°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #F0E67A?
The complementary color is HSL(235, 80%, 71%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(55, 80%, 71%) in CSS?
As HSL: color: hsl(55, 80%, 71%); — As HEX: color: #F0E67A; — As RGB: color: rgb(240, 230, 122); — Tailwind CSS: bg-[hsl(55,80%,71%)] — CSS variable: --color-primary: hsl(55, 80%, 71%);