HSL(51, 90%, 76%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,90%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 90%, 76%) | color: hsl(51, 90%, 76%) | |
| HEX | #F9E88B | color: #F9E88B | |
| RGB | rgb(249, 232, 139) | color: rgb(249, 232, 139) | |
| CMYK | cmyk(0%, 7%, 44%, 2%) | — | |
| HSV | hsv(51, 44%, 98%) | — | |
| HWB | hwb(51 55% 2%) | color: hwb(51 55% 2%) | |
| OKLCH | oklch(0.925 0.1154 99.17) | color: oklch(0.925 0.1154 99.17) | |
| Lab | lab(91.56 -6.59 47.17) | color: lab(91.56 -6.59 47.17) | |
| LCH | lch(91.56 47.63 97.95) | color: lch(91.56 47.63 97.95) |
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)
#F2F1A2 — rgb(242, 241, 162)
Deuteranopia (Green-blind)
#F3F4A7 — rgb(243, 244, 167)
Tritanopia (Blue-blind)
#F8B3B7 — rgb(248, 179, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 90%, 76%);
text
color: hsl(51, 90%, 76%);
border
border: 2px solid hsl(51, 90%, 76%);
gradient light
background: linear-gradient(to right, hsl(51, 90%, 96%), hsl(51, 90%, 76%));
gradient dark
background: linear-gradient(to right, hsl(51, 90%, 76%), hsl(51, 90%, 56%))
hex
background-color: #F9E88B;
tailwind
bg-[hsl(51,90%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 90%, 76%, 0.4);
css variable
--color-primary: hsl(51, 90%, 76%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 90%, 76%)?
HEX: #F9E88B | RGB: rgb(249, 232, 139) | CMYK: 0%, 7%, 44%, 2% | HSV: 51°, 44%, 98%. Copy any format from the conversion table above.
What colors go well with #F9E88B?
The complementary color is HSL(231, 90%, 76%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 90%, 76%) in CSS?
As HSL: color: hsl(51, 90%, 76%); — As HEX: color: #F9E88B; — As RGB: color: rgb(249, 232, 139); — Tailwind CSS: bg-[hsl(51,90%,76%)] — CSS variable: --color-primary: hsl(51, 90%, 76%);