HSL(61, 52%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,52%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 52%, 64%) | color: hsl(61, 52%, 64%) | |
| HEX | #D1D373 | color: #D1D373 | |
| RGB | rgb(209, 211, 115) | color: rgb(209, 211, 115) | |
| CMYK | cmyk(1%, 0%, 45%, 17%) | — | |
| HSV | hsv(61, 45%, 83%) | — | |
| HWB | hwb(61 46% 17%) | color: hwb(61 46% 17%) | |
| OKLCH | oklch(0.8449 0.1195 109.76) | color: oklch(0.8449 0.1195 109.76) | |
| Lab | lab(82.58 -14.21 47.03) | color: lab(82.58 -14.21 47.03) | |
| LCH | lch(82.58 49.13 106.81) | color: lch(82.58 49.13 106.81) |
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)
#D2D28A — rgb(210, 210, 138)
Deuteranopia (Green-blind)
#D2D290 — rgb(210, 210, 144)
Tritanopia (Blue-blind)
#D19DA1 — rgb(209, 157, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 52%, 64%);
text
color: hsl(61, 52%, 64%);
border
border: 2px solid hsl(61, 52%, 64%);
gradient light
background: linear-gradient(to right, hsl(61, 52%, 84%), hsl(61, 52%, 64%));
gradient dark
background: linear-gradient(to right, hsl(61, 52%, 64%), hsl(61, 52%, 44%))
hex
background-color: #D1D373;
tailwind
bg-[hsl(61,52%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 52%, 64%, 0.4);
css variable
--color-primary: hsl(61, 52%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 52%, 64%)?
HEX: #D1D373 | RGB: rgb(209, 211, 115) | CMYK: 1%, 0%, 45%, 17% | HSV: 61°, 45%, 83%. Copy any format from the conversion table above.
What colors go well with #D1D373?
The complementary color is HSL(241, 52%, 64%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 52%, 64%) in CSS?
As HSL: color: hsl(61, 52%, 64%); — As HEX: color: #D1D373; — As RGB: color: rgb(209, 211, 115); — Tailwind CSS: bg-[hsl(61,52%,64%)] — CSS variable: --color-primary: hsl(61, 52%, 64%);