HSL(64, 60%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,60%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 60%, 50%) | color: hsl(64, 60%, 50%) | |
| HEX | #C2CC33 | color: #C2CC33 | |
| RGB | rgb(194, 204, 51) | color: rgb(194, 204, 51) | |
| CMYK | cmyk(5%, 0%, 75%, 20%) | — | |
| HSV | hsv(64, 75%, 80%) | — | |
| HWB | hwb(64 20% 20%) | color: hwb(64 20% 20%) | |
| OKLCH | oklch(0.8115 0.1663 113.37) | color: oklch(0.8115 0.1663 113.37) | |
| Lab | lab(78.98 -21.33 69.53) | color: lab(78.98 -21.33 69.53) | |
| LCH | lch(78.98 72.73 107.05) | color: lch(78.98 72.73 107.05) |
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)
#C6C658 — rgb(198, 198, 88)
Deuteranopia (Green-blind)
#C6C561 — rgb(198, 197, 97)
Tritanopia (Blue-blind)
#C3757C — rgb(195, 117, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 60%, 50%);
text
color: hsl(64, 60%, 50%);
border
border: 2px solid hsl(64, 60%, 50%);
gradient light
background: linear-gradient(to right, hsl(64, 60%, 70%), hsl(64, 60%, 50%));
gradient dark
background: linear-gradient(to right, hsl(64, 60%, 50%), hsl(64, 60%, 30%))
hex
background-color: #C2CC33;
tailwind
bg-[hsl(64,60%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 60%, 50%, 0.4);
css variable
--color-primary: hsl(64, 60%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 60%, 50%)?
HEX: #C2CC33 | RGB: rgb(194, 204, 51) | CMYK: 5%, 0%, 75%, 20% | HSV: 64°, 75%, 80%. Copy any format from the conversion table above.
What colors go well with #C2CC33?
The complementary color is HSL(244, 60%, 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, 60%, 50%) in CSS?
As HSL: color: hsl(64, 60%, 50%); — As HEX: color: #C2CC33; — As RGB: color: rgb(194, 204, 51); — Tailwind CSS: bg-[hsl(64,60%,50%)] — CSS variable: --color-primary: hsl(64, 60%, 50%);