HSL(59, 70%, 46%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,70%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 70%, 46%) | color: hsl(59, 70%, 46%) | |
| HEX | #C7C523 | color: #C7C523 | |
| RGB | rgb(199, 197, 35) | color: rgb(199, 197, 35) | |
| CMYK | cmyk(0%, 1%, 82%, 22%) | — | |
| HSV | hsv(59, 82%, 78%) | — | |
| HWB | hwb(59 14% 22%) | color: hwb(59 14% 22%) | |
| OKLCH | oklch(0.7996 0.1655 108.85) | color: oklch(0.7996 0.1655 108.85) | |
| Lab | lab(77.4 -16.31 72.78) | color: lab(77.4 -16.31 72.78) | |
| LCH | lch(77.4 74.59 102.63) | color: lch(77.4 74.59 102.63) |
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)
#C6C64A — rgb(198, 198, 74)
Deuteranopia (Green-blind)
#C6C654 — rgb(198, 198, 84)
Tritanopia (Blue-blind)
#C76970 — rgb(199, 105, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 70%, 46%);
text
color: hsl(59, 70%, 46%);
border
border: 2px solid hsl(59, 70%, 46%);
gradient light
background: linear-gradient(to right, hsl(59, 70%, 66%), hsl(59, 70%, 46%));
gradient dark
background: linear-gradient(to right, hsl(59, 70%, 46%), hsl(59, 70%, 26%))
hex
background-color: #C7C523;
tailwind
bg-[hsl(59,70%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 70%, 46%, 0.4);
css variable
--color-primary: hsl(59, 70%, 46%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 70%, 46%)?
HEX: #C7C523 | RGB: rgb(199, 197, 35) | CMYK: 0%, 1%, 82%, 22% | HSV: 59°, 82%, 78%. Copy any format from the conversion table above.
What colors go well with #C7C523?
The complementary color is HSL(239, 70%, 46%). 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, 70%, 46%) in CSS?
As HSL: color: hsl(59, 70%, 46%); — As HEX: color: #C7C523; — As RGB: color: rgb(199, 197, 35); — Tailwind CSS: bg-[hsl(59,70%,46%)] — CSS variable: --color-primary: hsl(59, 70%, 46%);