HSL(62, 99%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,99%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 99%, 71%) | color: hsl(62, 99%, 71%) | |
| HEX | #F9FE6C | color: #F9FE6C | |
| RGB | rgb(249, 254, 108) | color: rgb(249, 254, 108) | |
| CMYK | cmyk(2%, 0%, 57%, 0%) | — | |
| HSV | hsv(62, 57%, 100%) | — | |
| HWB | hwb(62 43% 0%) | color: hwb(62 43% 0%) | |
| OKLCH | oklch(0.9661 0.1666 110.97) | color: oklch(0.9661 0.1666 110.97) | |
| Lab | lab(96.86 -19.94 67.57) | color: lab(96.86 -19.94 67.57) | |
| LCH | lch(96.86 70.45 106.44) | color: lch(96.86 70.45 106.44) |
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)
#FBFB8F — rgb(251, 251, 143)
Deuteranopia (Green-blind)
#FBFB98 — rgb(251, 251, 152)
Tritanopia (Blue-blind)
#F9ABB1 — rgb(249, 171, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 99%, 71%);
text
color: hsl(62, 99%, 71%);
border
border: 2px solid hsl(62, 99%, 71%);
gradient light
background: linear-gradient(to right, hsl(62, 99%, 91%), hsl(62, 99%, 71%));
gradient dark
background: linear-gradient(to right, hsl(62, 99%, 71%), hsl(62, 99%, 51%))
hex
background-color: #F9FE6C;
tailwind
bg-[hsl(62,99%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 99%, 71%, 0.4);
css variable
--color-primary: hsl(62, 99%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 99%, 71%)?
HEX: #F9FE6C | RGB: rgb(249, 254, 108) | CMYK: 2%, 0%, 57%, 0% | HSV: 62°, 57%, 100%. Copy any format from the conversion table above.
What colors go well with #F9FE6C?
The complementary color is HSL(242, 99%, 71%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 99%, 71%) in CSS?
As HSL: color: hsl(62, 99%, 71%); — As HEX: color: #F9FE6C; — As RGB: color: rgb(249, 254, 108); — Tailwind CSS: bg-[hsl(62,99%,71%)] — CSS variable: --color-primary: hsl(62, 99%, 71%);