HSL(61, 45%, 68%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,45%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 45%, 68%) | color: hsl(61, 45%, 68%) | |
| HEX | #D1D289 | color: #D1D289 | |
| RGB | rgb(209, 210, 137) | color: rgb(209, 210, 137) | |
| CMYK | cmyk(0%, 0%, 35%, 18%) | — | |
| HSV | hsv(61, 35%, 82%) | — | |
| HWB | hwb(61 53% 18%) | color: hwb(61 53% 18%) | |
| OKLCH | oklch(0.8462 0.0941 108.92) | color: oklch(0.8462 0.0941 108.92) | |
| Lab | lab(82.62 -11.35 36.12) | color: lab(82.62 -11.35 36.12) | |
| LCH | lch(82.62 37.86 107.44) | color: lch(82.62 37.86 107.44) |
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)
#D1D19B — rgb(209, 209, 155)
Deuteranopia (Green-blind)
#D1D19F — rgb(209, 209, 159)
Tritanopia (Blue-blind)
#D1A9AC — rgb(209, 169, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 45%, 68%);
text
color: hsl(61, 45%, 68%);
border
border: 2px solid hsl(61, 45%, 68%);
gradient light
background: linear-gradient(to right, hsl(61, 45%, 88%), hsl(61, 45%, 68%));
gradient dark
background: linear-gradient(to right, hsl(61, 45%, 68%), hsl(61, 45%, 48%))
hex
background-color: #D1D289;
tailwind
bg-[hsl(61,45%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 45%, 68%, 0.4);
css variable
--color-primary: hsl(61, 45%, 68%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 45%, 68%)?
HEX: #D1D289 | RGB: rgb(209, 210, 137) | CMYK: 0%, 0%, 35%, 18% | HSV: 61°, 35%, 82%. Copy any format from the conversion table above.
What colors go well with #D1D289?
The complementary color is HSL(241, 45%, 68%). 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, 45%, 68%) in CSS?
As HSL: color: hsl(61, 45%, 68%); — As HEX: color: #D1D289; — As RGB: color: rgb(209, 210, 137); — Tailwind CSS: bg-[hsl(61,45%,68%)] — CSS variable: --color-primary: hsl(61, 45%, 68%);