HSL(59, 64%, 34%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,64%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 64%, 34%) | color: hsl(59, 64%, 34%) | |
| HEX | #8E8C1F | color: #8E8C1F | |
| RGB | rgb(142, 140, 31) | color: rgb(142, 140, 31) | |
| CMYK | cmyk(0%, 1%, 78%, 44%) | — | |
| HSV | hsv(59, 78%, 56%) | — | |
| HWB | hwb(59 12% 44%) | color: hwb(59 12% 44%) | |
| OKLCH | oklch(0.6225 0.1242 108.43) | color: oklch(0.6225 0.1242 108.43) | |
| Lab | lab(56.69 -12.1 53.94) | color: lab(56.69 -12.1 53.94) | |
| LCH | lch(56.69 55.28 102.64) | color: lch(56.69 55.28 102.64) |
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)
#8D8D39 — rgb(141, 141, 57)
Deuteranopia (Green-blind)
#8D8D40 — rgb(141, 141, 64)
Tritanopia (Blue-blind)
#8E4E53 — rgb(142, 78, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 64%, 34%);
text
color: hsl(59, 64%, 34%);
border
border: 2px solid hsl(59, 64%, 34%);
gradient light
background: linear-gradient(to right, hsl(59, 64%, 54%), hsl(59, 64%, 34%));
gradient dark
background: linear-gradient(to right, hsl(59, 64%, 34%), hsl(59, 64%, 14%))
hex
background-color: #8E8C1F;
tailwind
bg-[hsl(59,64%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 64%, 34%, 0.4);
css variable
--color-primary: hsl(59, 64%, 34%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 64%, 34%)?
HEX: #8E8C1F | RGB: rgb(142, 140, 31) | CMYK: 0%, 1%, 78%, 44% | HSV: 59°, 78%, 56%. Copy any format from the conversion table above.
What colors go well with #8E8C1F?
The complementary color is HSL(239, 64%, 34%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 64%, 34%) in CSS?
As HSL: color: hsl(59, 64%, 34%); — As HEX: color: #8E8C1F; — As RGB: color: rgb(142, 140, 31); — Tailwind CSS: bg-[hsl(59,64%,34%)] — CSS variable: --color-primary: hsl(59, 64%, 34%);