HSL(54, 79%, 76%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,79%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 79%, 76%) | color: hsl(54, 79%, 76%) | |
| HEX | #F2E891 | color: #F2E891 | |
| RGB | rgb(242, 232, 145) | color: rgb(242, 232, 145) | |
| CMYK | cmyk(0%, 4%, 40%, 5%) | — | |
| HSV | hsv(54, 40%, 95%) | — | |
| HWB | hwb(54 57% 5%) | color: hwb(54 57% 5%) | |
| OKLCH | oklch(0.92 0.1086 102.6) | color: oklch(0.92 0.1086 102.6) | |
| Lab | lab(91.07 -8.72 43.49) | color: lab(91.07 -8.72 43.49) | |
| LCH | lch(91.07 44.36 101.34) | color: lch(91.07 44.36 101.34) |
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)
#EEEEA6 — rgb(238, 238, 166)
Deuteranopia (Green-blind)
#EEEFAB — rgb(238, 239, 171)
Tritanopia (Blue-blind)
#F2B7BA — rgb(242, 183, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 79%, 76%);
text
color: hsl(54, 79%, 76%);
border
border: 2px solid hsl(54, 79%, 76%);
gradient light
background: linear-gradient(to right, hsl(54, 79%, 96%), hsl(54, 79%, 76%));
gradient dark
background: linear-gradient(to right, hsl(54, 79%, 76%), hsl(54, 79%, 56%))
hex
background-color: #F2E891;
tailwind
bg-[hsl(54,79%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 79%, 76%, 0.4);
css variable
--color-primary: hsl(54, 79%, 76%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 79%, 76%)?
HEX: #F2E891 | RGB: rgb(242, 232, 145) | CMYK: 0%, 4%, 40%, 5% | HSV: 54°, 40%, 95%. Copy any format from the conversion table above.
What colors go well with #F2E891?
The complementary color is HSL(234, 79%, 76%). 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, 79%, 76%) in CSS?
As HSL: color: hsl(54, 79%, 76%); — As HEX: color: #F2E891; — As RGB: color: rgb(242, 232, 145); — Tailwind CSS: bg-[hsl(54,79%,76%)] — CSS variable: --color-primary: hsl(54, 79%, 76%);