HSL(50, 61%, 65%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(50,61%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 61%, 65%) | color: hsl(50, 61%, 65%) | |
| HEX | #DCCA6F | color: #DCCA6F | |
| RGB | rgb(220, 202, 111) | color: rgb(220, 202, 111) | |
| CMYK | cmyk(0%, 8%, 50%, 14%) | — | |
| HSV | hsv(50, 50%, 86%) | — | |
| HWB | hwb(50 43% 14%) | color: hwb(50 43% 14%) | |
| OKLCH | oklch(0.8349 0.1139 98.39) | color: oklch(0.8349 0.1139 98.39) | |
| Lab | lab(81.07 -5.58 47.35) | color: lab(81.07 -5.58 47.35) | |
| LCH | lch(81.07 47.68 96.72) | color: lch(81.07 47.68 96.72) |
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)
#D4D485 — rgb(212, 212, 133)
Deuteranopia (Green-blind)
#D5D78A — rgb(213, 215, 138)
Tritanopia (Blue-blind)
#DB969A — rgb(219, 150, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 61%, 65%);
text
color: hsl(50, 61%, 65%);
border
border: 2px solid hsl(50, 61%, 65%);
gradient light
background: linear-gradient(to right, hsl(50, 61%, 85%), hsl(50, 61%, 65%));
gradient dark
background: linear-gradient(to right, hsl(50, 61%, 65%), hsl(50, 61%, 45%))
hex
background-color: #DCCA6F;
tailwind
bg-[hsl(50,61%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 61%, 65%, 0.4);
css variable
--color-primary: hsl(50, 61%, 65%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 61%, 65%)?
HEX: #DCCA6F | RGB: rgb(220, 202, 111) | CMYK: 0%, 8%, 50%, 14% | HSV: 50°, 50%, 86%. Copy any format from the conversion table above.
What colors go well with #DCCA6F?
The complementary color is HSL(230, 61%, 65%). 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, 61%, 65%) in CSS?
As HSL: color: hsl(50, 61%, 65%); — As HEX: color: #DCCA6F; — As RGB: color: rgb(220, 202, 111); — Tailwind CSS: bg-[hsl(50,61%,65%)] — CSS variable: --color-primary: hsl(50, 61%, 65%);