HSL(51, 60%, 61%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,60%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 60%, 61%) | color: hsl(51, 60%, 61%) | |
| HEX | #D7C560 | color: #D7C560 | |
| RGB | rgb(215, 197, 96) | color: rgb(215, 197, 96) | |
| CMYK | cmyk(0%, 8%, 55%, 16%) | — | |
| HSV | hsv(51, 55%, 84%) | — | |
| HWB | hwb(51 38% 16%) | color: hwb(51 38% 16%) | |
| OKLCH | oklch(0.8183 0.1235 99.36) | color: oklch(0.8183 0.1235 99.36) | |
| Lab | lab(79.17 -6.32 52.16) | color: lab(79.17 -6.32 52.16) | |
| LCH | lch(79.17 52.54 96.91) | color: lch(79.17 52.54 96.91) |
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)
#CFCF78 — rgb(207, 207, 120)
Deuteranopia (Green-blind)
#D0D27E — rgb(208, 210, 126)
Tritanopia (Blue-blind)
#D68C90 — rgb(214, 140, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 60%, 61%);
text
color: hsl(51, 60%, 61%);
border
border: 2px solid hsl(51, 60%, 61%);
gradient light
background: linear-gradient(to right, hsl(51, 60%, 81%), hsl(51, 60%, 61%));
gradient dark
background: linear-gradient(to right, hsl(51, 60%, 61%), hsl(51, 60%, 41%))
hex
background-color: #D7C560;
tailwind
bg-[hsl(51,60%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 60%, 61%, 0.4);
css variable
--color-primary: hsl(51, 60%, 61%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 60%, 61%)?
HEX: #D7C560 | RGB: rgb(215, 197, 96) | CMYK: 0%, 8%, 55%, 16% | HSV: 51°, 55%, 84%. Copy any format from the conversion table above.
What colors go well with #D7C560?
The complementary color is HSL(231, 60%, 61%). 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%, 61%) in CSS?
As HSL: color: hsl(51, 60%, 61%); — As HEX: color: #D7C560; — As RGB: color: rgb(215, 197, 96); — Tailwind CSS: bg-[hsl(51,60%,61%)] — CSS variable: --color-primary: hsl(51, 60%, 61%);