HSL(51, 57%, 63%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,57%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 57%, 63%) | color: hsl(51, 57%, 63%) | |
| HEX | #D6C66B | color: #D6C66B | |
| RGB | rgb(214, 198, 107) | color: rgb(214, 198, 107) | |
| CMYK | cmyk(0%, 7%, 50%, 16%) | — | |
| HSV | hsv(51, 50%, 84%) | — | |
| HWB | hwb(51 42% 16%) | color: hwb(51 42% 16%) | |
| OKLCH | oklch(0.8208 0.1138 99.53) | color: oklch(0.8208 0.1138 99.53) | |
| Lab | lab(79.47 -6.32 47.24) | color: lab(79.47 -6.32 47.24) | |
| LCH | lch(79.47 47.66 97.62) | color: lch(79.47 47.66 97.62) |
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)
#CFCF81 — rgb(207, 207, 129)
Deuteranopia (Green-blind)
#D0D186 — rgb(208, 209, 134)
Tritanopia (Blue-blind)
#D59296 — rgb(213, 146, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 57%, 63%);
text
color: hsl(51, 57%, 63%);
border
border: 2px solid hsl(51, 57%, 63%);
gradient light
background: linear-gradient(to right, hsl(51, 57%, 83%), hsl(51, 57%, 63%));
gradient dark
background: linear-gradient(to right, hsl(51, 57%, 63%), hsl(51, 57%, 43%))
hex
background-color: #D6C66B;
tailwind
bg-[hsl(51,57%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 57%, 63%, 0.4);
css variable
--color-primary: hsl(51, 57%, 63%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 57%, 63%)?
HEX: #D6C66B | RGB: rgb(214, 198, 107) | CMYK: 0%, 7%, 50%, 16% | HSV: 51°, 50%, 84%. Copy any format from the conversion table above.
What colors go well with #D6C66B?
The complementary color is HSL(231, 57%, 63%). 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, 57%, 63%) in CSS?
As HSL: color: hsl(51, 57%, 63%); — As HEX: color: #D6C66B; — As RGB: color: rgb(214, 198, 107); — Tailwind CSS: bg-[hsl(51,57%,63%)] — CSS variable: --color-primary: hsl(51, 57%, 63%);