HSL(64, 60%, 68%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,60%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 60%, 68%) | color: hsl(64, 60%, 68%) | |
| HEX | #D8DE7C | color: #D8DE7C | |
| RGB | rgb(216, 222, 124) | color: rgb(216, 222, 124) | |
| CMYK | cmyk(3%, 0%, 44%, 13%) | — | |
| HSV | hsv(64, 44%, 87%) | — | |
| HWB | hwb(64 49% 13%) | color: hwb(64 49% 13%) | |
| OKLCH | oklch(0.875 0.122 111.73) | color: oklch(0.875 0.122 111.73) | |
| Lab | lab(86.16 -16.03 47.17) | color: lab(86.16 -16.03 47.17) | |
| LCH | lch(86.16 49.82 108.77) | color: lch(86.16 49.82 108.77) |
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)
#DBDB94 — rgb(219, 219, 148)
Deuteranopia (Green-blind)
#DADA99 — rgb(218, 218, 153)
Tritanopia (Blue-blind)
#D8A6AB — rgb(216, 166, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 60%, 68%);
text
color: hsl(64, 60%, 68%);
border
border: 2px solid hsl(64, 60%, 68%);
gradient light
background: linear-gradient(to right, hsl(64, 60%, 88%), hsl(64, 60%, 68%));
gradient dark
background: linear-gradient(to right, hsl(64, 60%, 68%), hsl(64, 60%, 48%))
hex
background-color: #D8DE7C;
tailwind
bg-[hsl(64,60%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 60%, 68%, 0.4);
css variable
--color-primary: hsl(64, 60%, 68%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 60%, 68%)?
HEX: #D8DE7C | RGB: rgb(216, 222, 124) | CMYK: 3%, 0%, 44%, 13% | HSV: 64°, 44%, 87%. Copy any format from the conversion table above.
What colors go well with #D8DE7C?
The complementary color is HSL(244, 60%, 68%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(64, 60%, 68%) in CSS?
As HSL: color: hsl(64, 60%, 68%); — As HEX: color: #D8DE7C; — As RGB: color: rgb(216, 222, 124); — Tailwind CSS: bg-[hsl(64,60%,68%)] — CSS variable: --color-primary: hsl(64, 60%, 68%);