HSL(46, 100%, 68%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,100%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 100%, 68%) | color: hsl(46, 100%, 68%) | |
| HEX | #FFD95C | color: #FFD95C | |
| RGB | rgb(255, 217, 92) | color: rgb(255, 217, 92) | |
| CMYK | cmyk(0%, 15%, 64%, 0%) | — | |
| HSV | hsv(46, 64%, 100%) | — | |
| HWB | hwb(46 36% 0%) | color: hwb(46 36% 0%) | |
| OKLCH | oklch(0.8949 0.1471 92.18) | color: oklch(0.8949 0.1471 92.18) | |
| Lab | lab(87.81 -0.27 64.58) | color: lab(87.81 -0.27 64.58) | |
| LCH | lch(87.81 64.58 90.24) | color: lch(87.81 64.58 90.24) |
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)
#EFEE7A — rgb(239, 238, 122)
Deuteranopia (Green-blind)
#F1F482 — rgb(241, 244, 130)
Tritanopia (Blue-blind)
#FD9297 — rgb(253, 146, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 100%, 68%);
text
color: hsl(46, 100%, 68%);
border
border: 2px solid hsl(46, 100%, 68%);
gradient light
background: linear-gradient(to right, hsl(46, 100%, 88%), hsl(46, 100%, 68%));
gradient dark
background: linear-gradient(to right, hsl(46, 100%, 68%), hsl(46, 100%, 48%))
hex
background-color: #FFD95C;
tailwind
bg-[hsl(46,100%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 100%, 68%, 0.4);
css variable
--color-primary: hsl(46, 100%, 68%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 100%, 68%)?
HEX: #FFD95C | RGB: rgb(255, 217, 92) | CMYK: 0%, 15%, 64%, 0% | HSV: 46°, 64%, 100%. Copy any format from the conversion table above.
What colors go well with #FFD95C?
The complementary color is HSL(226, 100%, 68%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 100%, 68%) in CSS?
As HSL: color: hsl(46, 100%, 68%); — As HEX: color: #FFD95C; — As RGB: color: rgb(255, 217, 92); — Tailwind CSS: bg-[hsl(46,100%,68%)] — CSS variable: --color-primary: hsl(46, 100%, 68%);