HSL(64, 79%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,79%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 79%, 50%) | color: hsl(64, 79%, 50%) | |
| HEX | #D7E41B | color: #D7E41B | |
| RGB | rgb(215, 228, 27) | color: rgb(215, 228, 27) | |
| CMYK | cmyk(6%, 0%, 88%, 11%) | — | |
| HSV | hsv(64, 88%, 89%) | — | |
| HWB | hwb(64 11% 11%) | color: hwb(64 11% 11%) | |
| OKLCH | oklch(0.8795 0.1931 113.91) | color: oklch(0.8795 0.1931 113.91) | |
| Lab | lab(87 -24.9 82.77) | color: lab(87 -24.9 82.77) | |
| LCH | lch(87 86.43 106.74) | color: lch(87 86.43 106.74) |
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)
#DDDD4C — rgb(221, 221, 76)
Deuteranopia (Green-blind)
#DCDB57 — rgb(220, 219, 87)
Tritanopia (Blue-blind)
#D8727A — rgb(216, 114, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 79%, 50%);
text
color: hsl(64, 79%, 50%);
border
border: 2px solid hsl(64, 79%, 50%);
gradient light
background: linear-gradient(to right, hsl(64, 79%, 70%), hsl(64, 79%, 50%));
gradient dark
background: linear-gradient(to right, hsl(64, 79%, 50%), hsl(64, 79%, 30%))
hex
background-color: #D7E41B;
tailwind
bg-[hsl(64,79%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 79%, 50%, 0.4);
css variable
--color-primary: hsl(64, 79%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 79%, 50%)?
HEX: #D7E41B | RGB: rgb(215, 228, 27) | CMYK: 6%, 0%, 88%, 11% | HSV: 64°, 88%, 89%. Copy any format from the conversion table above.
What colors go well with #D7E41B?
The complementary color is HSL(244, 79%, 50%). 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, 79%, 50%) in CSS?
As HSL: color: hsl(64, 79%, 50%); — As HEX: color: #D7E41B; — As RGB: color: rgb(215, 228, 27); — Tailwind CSS: bg-[hsl(64,79%,50%)] — CSS variable: --color-primary: hsl(64, 79%, 50%);