HSL(54, 79%, 56%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,79%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 79%, 56%) | color: hsl(54, 79%, 56%) | |
| HEX | #E7D636 | color: #E7D636 | |
| RGB | rgb(231, 214, 54) | color: rgb(231, 214, 54) | |
| CMYK | cmyk(0%, 7%, 77%, 9%) | — | |
| HSV | hsv(54, 77%, 91%) | — | |
| HWB | hwb(54 21% 9%) | color: hwb(54 21% 9%) | |
| OKLCH | oklch(0.8642 0.1675 102.98) | color: oklch(0.8642 0.1675 102.98) | |
| Lab | lab(84.66 -10.6 74.91) | color: lab(84.66 -10.6 74.91) | |
| LCH | lch(84.66 75.66 98.05) | color: lch(84.66 75.66 98.05) |
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)
#E0DF5D — rgb(224, 223, 93)
Deuteranopia (Green-blind)
#E1E266 — rgb(225, 226, 102)
Tritanopia (Blue-blind)
#E67B82 — rgb(230, 123, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 79%, 56%);
text
color: hsl(54, 79%, 56%);
border
border: 2px solid hsl(54, 79%, 56%);
gradient light
background: linear-gradient(to right, hsl(54, 79%, 76%), hsl(54, 79%, 56%));
gradient dark
background: linear-gradient(to right, hsl(54, 79%, 56%), hsl(54, 79%, 36%))
hex
background-color: #E7D636;
tailwind
bg-[hsl(54,79%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 79%, 56%, 0.4);
css variable
--color-primary: hsl(54, 79%, 56%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 79%, 56%)?
HEX: #E7D636 | RGB: rgb(231, 214, 54) | CMYK: 0%, 7%, 77%, 9% | HSV: 54°, 77%, 91%. Copy any format from the conversion table above.
What colors go well with #E7D636?
The complementary color is HSL(234, 79%, 56%). 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%, 56%) in CSS?
As HSL: color: hsl(54, 79%, 56%); — As HEX: color: #E7D636; — As RGB: color: rgb(231, 214, 54); — Tailwind CSS: bg-[hsl(54,79%,56%)] — CSS variable: --color-primary: hsl(54, 79%, 56%);