HSL(54, 50%, 85%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,50%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 50%, 85%) | color: hsl(54, 50%, 85%) | |
| HEX | #ECE8C6 | color: #ECE8C6 | |
| RGB | rgb(236, 232, 198) | color: rgb(236, 232, 198) | |
| CMYK | cmyk(0%, 2%, 16%, 7%) | — | |
| HSV | hsv(54, 16%, 93%) | — | |
| HWB | hwb(54 78% 7%) | color: hwb(54 78% 7%) | |
| OKLCH | oklch(0.9254 0.0449 101.7) | color: oklch(0.9254 0.0449 101.7) | |
| Lab | lab(91.52 -4.2 17.05) | color: lab(91.52 -4.2 17.05) | |
| LCH | lch(91.52 17.56 103.84) | color: lch(91.52 17.56 103.84) |
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)
#EAEACE — rgb(234, 234, 206)
Deuteranopia (Green-blind)
#EBEBD0 — rgb(235, 235, 208)
Tritanopia (Blue-blind)
#ECD5D6 — rgb(236, 213, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 50%, 85%);
text
color: hsl(54, 50%, 85%);
border
border: 2px solid hsl(54, 50%, 85%);
gradient light
background: linear-gradient(to right, hsl(54, 50%, 100%), hsl(54, 50%, 85%));
gradient dark
background: linear-gradient(to right, hsl(54, 50%, 85%), hsl(54, 50%, 65%))
hex
background-color: #ECE8C6;
tailwind
bg-[hsl(54,50%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 50%, 85%, 0.4);
css variable
--color-primary: hsl(54, 50%, 85%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 50%, 85%)?
HEX: #ECE8C6 | RGB: rgb(236, 232, 198) | CMYK: 0%, 2%, 16%, 7% | HSV: 54°, 16%, 93%. Copy any format from the conversion table above.
What colors go well with #ECE8C6?
The complementary color is HSL(234, 50%, 85%). 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, 50%, 85%) in CSS?
As HSL: color: hsl(54, 50%, 85%); — As HEX: color: #ECE8C6; — As RGB: color: rgb(236, 232, 198); — Tailwind CSS: bg-[hsl(54,50%,85%)] — CSS variable: --color-primary: hsl(54, 50%, 85%);