HSL(54, 75%, 76%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,75%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 75%, 76%) | color: hsl(54, 75%, 76%) | |
| HEX | #F0E794 | color: #F0E794 | |
| RGB | rgb(240, 231, 148) | color: rgb(240, 231, 148) | |
| CMYK | cmyk(0%, 4%, 38%, 6%) | — | |
| HSV | hsv(54, 38%, 94%) | — | |
| HWB | hwb(54 58% 6%) | color: hwb(54 58% 6%) | |
| OKLCH | oklch(0.9168 0.1042 102.89) | color: oklch(0.9168 0.1042 102.89) | |
| Lab | lab(90.7 -8.67 41.5) | color: lab(90.7 -8.67 41.5) | |
| LCH | lch(90.7 42.4 101.8) | color: lch(90.7 42.4 101.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)
#ECECA8 — rgb(236, 236, 168)
Deuteranopia (Green-blind)
#EDEDAD — rgb(237, 237, 173)
Tritanopia (Blue-blind)
#F0B8BB — rgb(240, 184, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 75%, 76%);
text
color: hsl(54, 75%, 76%);
border
border: 2px solid hsl(54, 75%, 76%);
gradient light
background: linear-gradient(to right, hsl(54, 75%, 96%), hsl(54, 75%, 76%));
gradient dark
background: linear-gradient(to right, hsl(54, 75%, 76%), hsl(54, 75%, 56%))
hex
background-color: #F0E794;
tailwind
bg-[hsl(54,75%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 75%, 76%, 0.4);
css variable
--color-primary: hsl(54, 75%, 76%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 75%, 76%)?
HEX: #F0E794 | RGB: rgb(240, 231, 148) | CMYK: 0%, 4%, 38%, 6% | HSV: 54°, 38%, 94%. Copy any format from the conversion table above.
What colors go well with #F0E794?
The complementary color is HSL(234, 75%, 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, 75%, 76%) in CSS?
As HSL: color: hsl(54, 75%, 76%); — As HEX: color: #F0E794; — As RGB: color: rgb(240, 231, 148); — Tailwind CSS: bg-[hsl(54,75%,76%)] — CSS variable: --color-primary: hsl(54, 75%, 76%);