HSL(54, 72%, 75%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,72%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 72%, 75%) | color: hsl(54, 72%, 75%) | |
| HEX | #EDE491 | color: #EDE491 | |
| RGB | rgb(237, 228, 145) | color: rgb(237, 228, 145) | |
| CMYK | cmyk(0%, 4%, 39%, 7%) | — | |
| HSV | hsv(54, 39%, 93%) | — | |
| HWB | hwb(54 57% 7%) | color: hwb(54 57% 7%) | |
| OKLCH | oklch(0.9077 0.1043 102.9) | color: oklch(0.9077 0.1043 102.9) | |
| Lab | lab(89.64 -8.65 41.59) | color: lab(89.64 -8.65 41.59) | |
| LCH | lch(89.64 42.48 101.75) | color: lch(89.64 42.48 101.75) |
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)
#E9E9A5 — rgb(233, 233, 165)
Deuteranopia (Green-blind)
#EAEAAA — rgb(234, 234, 170)
Tritanopia (Blue-blind)
#EDB5B8 — rgb(237, 181, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 72%, 75%);
text
color: hsl(54, 72%, 75%);
border
border: 2px solid hsl(54, 72%, 75%);
gradient light
background: linear-gradient(to right, hsl(54, 72%, 95%), hsl(54, 72%, 75%));
gradient dark
background: linear-gradient(to right, hsl(54, 72%, 75%), hsl(54, 72%, 55%))
hex
background-color: #EDE491;
tailwind
bg-[hsl(54,72%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 72%, 75%, 0.4);
css variable
--color-primary: hsl(54, 72%, 75%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 72%, 75%)?
HEX: #EDE491 | RGB: rgb(237, 228, 145) | CMYK: 0%, 4%, 39%, 7% | HSV: 54°, 39%, 93%. Copy any format from the conversion table above.
What colors go well with #EDE491?
The complementary color is HSL(234, 72%, 75%). 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, 72%, 75%) in CSS?
As HSL: color: hsl(54, 72%, 75%); — As HEX: color: #EDE491; — As RGB: color: rgb(237, 228, 145); — Tailwind CSS: bg-[hsl(54,72%,75%)] — CSS variable: --color-primary: hsl(54, 72%, 75%);