HSL(54, 40%, 84%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,40%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 40%, 84%) | color: hsl(54, 40%, 84%) | |
| HEX | #E7E3C6 | color: #E7E3C6 | |
| RGB | rgb(231, 227, 198) | color: rgb(231, 227, 198) | |
| CMYK | cmyk(0%, 2%, 14%, 9%) | — | |
| HSV | hsv(53, 14%, 91%) | — | |
| HWB | hwb(53 78% 9%) | color: hwb(53 78% 9%) | |
| OKLCH | oklch(0.9114 0.0386 100.67) | color: oklch(0.9114 0.0386 100.67) | |
| Lab | lab(89.86 -3.45 14.67) | color: lab(89.86 -3.45 14.67) | |
| LCH | lch(89.86 15.07 103.23) | color: lch(89.86 15.07 103.23) |
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)
#E5E5CD — rgb(229, 229, 205)
Deuteranopia (Green-blind)
#E6E6CF — rgb(230, 230, 207)
Tritanopia (Blue-blind)
#E7D3D4 — rgb(231, 211, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 40%, 84%);
text
color: hsl(54, 40%, 84%);
border
border: 2px solid hsl(54, 40%, 84%);
gradient light
background: linear-gradient(to right, hsl(54, 40%, 100%), hsl(54, 40%, 84%));
gradient dark
background: linear-gradient(to right, hsl(54, 40%, 84%), hsl(54, 40%, 64%))
hex
background-color: #E7E3C6;
tailwind
bg-[hsl(54,40%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 40%, 84%, 0.4);
css variable
--color-primary: hsl(54, 40%, 84%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 40%, 84%)?
HEX: #E7E3C6 | RGB: rgb(231, 227, 198) | CMYK: 0%, 2%, 14%, 9% | HSV: 53°, 14%, 91%. Copy any format from the conversion table above.
What colors go well with #E7E3C6?
The complementary color is HSL(234, 40%, 84%). 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, 40%, 84%) in CSS?
As HSL: color: hsl(54, 40%, 84%); — As HEX: color: #E7E3C6; — As RGB: color: rgb(231, 227, 198); — Tailwind CSS: bg-[hsl(54,40%,84%)] — CSS variable: --color-primary: hsl(54, 40%, 84%);