HSL(46, 92%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,92%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 92%, 72%) | color: hsl(46, 92%, 72%) | |
| HEX | #F9DB76 | color: #F9DB76 | |
| RGB | rgb(249, 219, 118) | color: rgb(249, 219, 118) | |
| CMYK | cmyk(0%, 12%, 53%, 2%) | — | |
| HSV | hsv(46, 53%, 98%) | — | |
| HWB | hwb(46 46% 2%) | color: hwb(46 46% 2%) | |
| OKLCH | oklch(0.8962 0.1253 93.18) | color: oklch(0.8962 0.1253 93.18) | |
| Lab | lab(88.02 -1.91 52.94) | color: lab(88.02 -1.91 52.94) | |
| LCH | lch(88.02 52.97 92.07) | color: lch(88.02 52.97 92.07) |
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)
#ECEC8E — rgb(236, 236, 142)
Deuteranopia (Green-blind)
#EEF094 — rgb(238, 240, 148)
Tritanopia (Blue-blind)
#F8A2A6 — rgb(248, 162, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 92%, 72%);
text
color: hsl(46, 92%, 72%);
border
border: 2px solid hsl(46, 92%, 72%);
gradient light
background: linear-gradient(to right, hsl(46, 92%, 92%), hsl(46, 92%, 72%));
gradient dark
background: linear-gradient(to right, hsl(46, 92%, 72%), hsl(46, 92%, 52%))
hex
background-color: #F9DB76;
tailwind
bg-[hsl(46,92%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 92%, 72%, 0.4);
css variable
--color-primary: hsl(46, 92%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 92%, 72%)?
HEX: #F9DB76 | RGB: rgb(249, 219, 118) | CMYK: 0%, 12%, 53%, 2% | HSV: 46°, 53%, 98%. Copy any format from the conversion table above.
What colors go well with #F9DB76?
The complementary color is HSL(226, 92%, 72%). 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, 92%, 72%) in CSS?
As HSL: color: hsl(46, 92%, 72%); — As HEX: color: #F9DB76; — As RGB: color: rgb(249, 219, 118); — Tailwind CSS: bg-[hsl(46,92%,72%)] — CSS variable: --color-primary: hsl(46, 92%, 72%);