HSL(50, 50%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,50%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 50%, 64%) | color: hsl(50, 50%, 64%) | |
| HEX | #D1C275 | color: #D1C275 | |
| RGB | rgb(209, 194, 117) | color: rgb(209, 194, 117) | |
| CMYK | cmyk(0%, 7%, 44%, 18%) | — | |
| HSV | hsv(50, 44%, 82%) | — | |
| HWB | hwb(50 46% 18%) | color: hwb(50 46% 18%) | |
| OKLCH | oklch(0.8096 0.0992 98.56) | color: oklch(0.8096 0.0992 98.56) | |
| Lab | lab(78.13 -5.34 40.53) | color: lab(78.13 -5.34 40.53) | |
| LCH | lch(78.13 40.88 97.51) | color: lch(78.13 40.88 97.51) |
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)
#CBCA88 — rgb(203, 202, 136)
Deuteranopia (Green-blind)
#CBCD8C — rgb(203, 205, 140)
Tritanopia (Blue-blind)
#D0969A — rgb(208, 150, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 50%, 64%);
text
color: hsl(50, 50%, 64%);
border
border: 2px solid hsl(50, 50%, 64%);
gradient light
background: linear-gradient(to right, hsl(50, 50%, 84%), hsl(50, 50%, 64%));
gradient dark
background: linear-gradient(to right, hsl(50, 50%, 64%), hsl(50, 50%, 44%))
hex
background-color: #D1C275;
tailwind
bg-[hsl(50,50%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 50%, 64%, 0.4);
css variable
--color-primary: hsl(50, 50%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 50%, 64%)?
HEX: #D1C275 | RGB: rgb(209, 194, 117) | CMYK: 0%, 7%, 44%, 18% | HSV: 50°, 44%, 82%. Copy any format from the conversion table above.
What colors go well with #D1C275?
The complementary color is HSL(230, 50%, 64%). 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%, 64%) in CSS?
As HSL: color: hsl(50, 50%, 64%); — As HEX: color: #D1C275; — As RGB: color: rgb(209, 194, 117); — Tailwind CSS: bg-[hsl(50,50%,64%)] — CSS variable: --color-primary: hsl(50, 50%, 64%);