HSL(51, 60%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,60%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 60%, 64%) | color: hsl(51, 60%, 64%) | |
| HEX | #DACA6C | color: #DACA6C | |
| RGB | rgb(218, 202, 108) | color: rgb(218, 202, 108) | |
| CMYK | cmyk(0%, 7%, 50%, 15%) | — | |
| HSV | hsv(51, 50%, 85%) | — | |
| HWB | hwb(51 43% 15%) | color: hwb(51 43% 15%) | |
| OKLCH | oklch(0.8328 0.1168 99.83) | color: oklch(0.8328 0.1168 99.83) | |
| Lab | lab(80.87 -6.66 48.52) | color: lab(80.87 -6.66 48.52) | |
| LCH | lch(80.87 48.97 97.82) | color: lch(80.87 48.97 97.82) |
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)
#D3D383 — rgb(211, 211, 131)
Deuteranopia (Green-blind)
#D4D588 — rgb(212, 213, 136)
Tritanopia (Blue-blind)
#D99599 — rgb(217, 149, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 60%, 64%);
text
color: hsl(51, 60%, 64%);
border
border: 2px solid hsl(51, 60%, 64%);
gradient light
background: linear-gradient(to right, hsl(51, 60%, 84%), hsl(51, 60%, 64%));
gradient dark
background: linear-gradient(to right, hsl(51, 60%, 64%), hsl(51, 60%, 44%))
hex
background-color: #DACA6C;
tailwind
bg-[hsl(51,60%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 60%, 64%, 0.4);
css variable
--color-primary: hsl(51, 60%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 60%, 64%)?
HEX: #DACA6C | RGB: rgb(218, 202, 108) | CMYK: 0%, 7%, 50%, 15% | HSV: 51°, 50%, 85%. Copy any format from the conversion table above.
What colors go well with #DACA6C?
The complementary color is HSL(231, 60%, 64%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 60%, 64%) in CSS?
As HSL: color: hsl(51, 60%, 64%); — As HEX: color: #DACA6C; — As RGB: color: rgb(218, 202, 108); — Tailwind CSS: bg-[hsl(51,60%,64%)] — CSS variable: --color-primary: hsl(51, 60%, 64%);