HSL(54, 70%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,70%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 70%, 72%) | color: hsl(54, 70%, 72%) | |
| HEX | #EAE086 | color: #EAE086 | |
| RGB | rgb(234, 224, 134) | color: rgb(234, 224, 134) | |
| CMYK | cmyk(0%, 4%, 43%, 8%) | — | |
| HSV | hsv(54, 43%, 92%) | — | |
| HWB | hwb(54 52% 8%) | color: hwb(54 52% 8%) | |
| OKLCH | oklch(0.8953 0.1121 102.85) | color: oklch(0.8953 0.1121 102.85) | |
| Lab | lab(88.22 -8.96 45.17) | color: lab(88.22 -8.96 45.17) | |
| LCH | lch(88.22 46.05 101.22) | color: lch(88.22 46.05 101.22) |
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)
#E6E69C — rgb(230, 230, 156)
Deuteranopia (Green-blind)
#E6E7A1 — rgb(230, 231, 161)
Tritanopia (Blue-blind)
#EAADB1 — rgb(234, 173, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 70%, 72%);
text
color: hsl(54, 70%, 72%);
border
border: 2px solid hsl(54, 70%, 72%);
gradient light
background: linear-gradient(to right, hsl(54, 70%, 92%), hsl(54, 70%, 72%));
gradient dark
background: linear-gradient(to right, hsl(54, 70%, 72%), hsl(54, 70%, 52%))
hex
background-color: #EAE086;
tailwind
bg-[hsl(54,70%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 70%, 72%, 0.4);
css variable
--color-primary: hsl(54, 70%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 70%, 72%)?
HEX: #EAE086 | RGB: rgb(234, 224, 134) | CMYK: 0%, 4%, 43%, 8% | HSV: 54°, 43%, 92%. Copy any format from the conversion table above.
What colors go well with #EAE086?
The complementary color is HSL(234, 70%, 72%). 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, 70%, 72%) in CSS?
As HSL: color: hsl(54, 70%, 72%); — As HEX: color: #EAE086; — As RGB: color: rgb(234, 224, 134); — Tailwind CSS: bg-[hsl(54,70%,72%)] — CSS variable: --color-primary: hsl(54, 70%, 72%);