HSL(50, 50%, 85%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,50%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 50%, 85%) | color: hsl(50, 50%, 85%) | |
| HEX | #ECE6C6 | color: #ECE6C6 | |
| RGB | rgb(236, 230, 198) | color: rgb(236, 230, 198) | |
| CMYK | cmyk(0%, 3%, 16%, 7%) | — | |
| HSV | hsv(51, 16%, 93%) | — | |
| HWB | hwb(51 78% 7%) | color: hwb(51 78% 7%) | |
| OKLCH | oklch(0.9214 0.0426 98.4) | color: oklch(0.9214 0.0426 98.4) | |
| Lab | lab(91.01 -3.18 16.34) | color: lab(91.01 -3.18 16.34) | |
| LCH | lch(91.01 16.65 101.01) | color: lch(91.01 16.65 101.01) |
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)
#E9E9CE — rgb(233, 233, 206)
Deuteranopia (Green-blind)
#EAEAD0 — rgb(234, 234, 208)
Tritanopia (Blue-blind)
#ECD4D5 — rgb(236, 212, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 50%, 85%);
text
color: hsl(50, 50%, 85%);
border
border: 2px solid hsl(50, 50%, 85%);
gradient light
background: linear-gradient(to right, hsl(50, 50%, 100%), hsl(50, 50%, 85%));
gradient dark
background: linear-gradient(to right, hsl(50, 50%, 85%), hsl(50, 50%, 65%))
hex
background-color: #ECE6C6;
tailwind
bg-[hsl(50,50%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 50%, 85%, 0.4);
css variable
--color-primary: hsl(50, 50%, 85%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 50%, 85%)?
HEX: #ECE6C6 | RGB: rgb(236, 230, 198) | CMYK: 0%, 3%, 16%, 7% | HSV: 51°, 16%, 93%. Copy any format from the conversion table above.
What colors go well with #ECE6C6?
The complementary color is HSL(230, 50%, 85%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(50, 50%, 85%) in CSS?
As HSL: color: hsl(50, 50%, 85%); — As HEX: color: #ECE6C6; — As RGB: color: rgb(236, 230, 198); — Tailwind CSS: bg-[hsl(50,50%,85%)] — CSS variable: --color-primary: hsl(50, 50%, 85%);