HSL(51, 97%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,97%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 97%, 79%) | color: hsl(51, 97%, 79%) | |
| HEX | #FDEE96 | color: #FDEE96 | |
| RGB | rgb(253, 238, 150) | color: rgb(253, 238, 150) | |
| CMYK | cmyk(0%, 6%, 41%, 1%) | — | |
| HSV | hsv(51, 41%, 99%) | — | |
| HWB | hwb(51 58% 1%) | color: hwb(51 58% 1%) | |
| OKLCH | oklch(0.942 0.1098 99.78) | color: oklch(0.942 0.1098 99.78) | |
| Lab | lab(93.55 -6.93 44.38) | color: lab(93.55 -6.93 44.38) | |
| LCH | lch(93.55 44.92 98.88) | color: lch(93.55 44.92 98.88) |
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)
#F7F6AB — rgb(247, 246, 171)
Deuteranopia (Green-blind)
#F7F9B0 — rgb(247, 249, 176)
Tritanopia (Blue-blind)
#FCBCC0 — rgb(252, 188, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 97%, 79%);
text
color: hsl(51, 97%, 79%);
border
border: 2px solid hsl(51, 97%, 79%);
gradient light
background: linear-gradient(to right, hsl(51, 97%, 99%), hsl(51, 97%, 79%));
gradient dark
background: linear-gradient(to right, hsl(51, 97%, 79%), hsl(51, 97%, 59%))
hex
background-color: #FDEE96;
tailwind
bg-[hsl(51,97%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 97%, 79%, 0.4);
css variable
--color-primary: hsl(51, 97%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 97%, 79%)?
HEX: #FDEE96 | RGB: rgb(253, 238, 150) | CMYK: 0%, 6%, 41%, 1% | HSV: 51°, 41%, 99%. Copy any format from the conversion table above.
What colors go well with #FDEE96?
The complementary color is HSL(231, 97%, 79%). 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, 97%, 79%) in CSS?
As HSL: color: hsl(51, 97%, 79%); — As HEX: color: #FDEE96; — As RGB: color: rgb(253, 238, 150); — Tailwind CSS: bg-[hsl(51,97%,79%)] — CSS variable: --color-primary: hsl(51, 97%, 79%);