HSL(64, 92%, 74%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,92%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 92%, 74%) | color: hsl(64, 92%, 74%) | |
| HEX | #F2FA80 | color: #F2FA80 | |
| RGB | rgb(242, 250, 128) | color: rgb(242, 250, 128) | |
| CMYK | cmyk(3%, 0%, 49%, 2%) | — | |
| HSV | hsv(64, 49%, 98%) | — | |
| HWB | hwb(64 50% 2%) | color: hwb(64 50% 2%) | |
| OKLCH | oklch(0.9545 0.1459 112.2) | color: oklch(0.9545 0.1459 112.2) | |
| Lab | lab(95.5 -19.18 57.06) | color: lab(95.5 -19.18 57.06) | |
| LCH | lch(95.5 60.2 108.58) | color: lch(95.5 60.2 108.58) |
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)
#F5F69E — rgb(245, 246, 158)
Deuteranopia (Green-blind)
#F5F4A5 — rgb(245, 244, 165)
Tritanopia (Blue-blind)
#F2B5BA — rgb(242, 181, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 92%, 74%);
text
color: hsl(64, 92%, 74%);
border
border: 2px solid hsl(64, 92%, 74%);
gradient light
background: linear-gradient(to right, hsl(64, 92%, 94%), hsl(64, 92%, 74%));
gradient dark
background: linear-gradient(to right, hsl(64, 92%, 74%), hsl(64, 92%, 54%))
hex
background-color: #F2FA80;
tailwind
bg-[hsl(64,92%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 92%, 74%, 0.4);
css variable
--color-primary: hsl(64, 92%, 74%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 92%, 74%)?
HEX: #F2FA80 | RGB: rgb(242, 250, 128) | CMYK: 3%, 0%, 49%, 2% | HSV: 64°, 49%, 98%. Copy any format from the conversion table above.
What colors go well with #F2FA80?
The complementary color is HSL(244, 92%, 74%). 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, 92%, 74%) in CSS?
As HSL: color: hsl(64, 92%, 74%); — As HEX: color: #F2FA80; — As RGB: color: rgb(242, 250, 128); — Tailwind CSS: bg-[hsl(64,92%,74%)] — CSS variable: --color-primary: hsl(64, 92%, 74%);