HSL(58, 100%, 74%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(58,100%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 100%, 74%) | color: hsl(58, 100%, 74%) | |
| HEX | #FFFB7A | color: #FFFB7A | |
| RGB | rgb(255, 251, 122) | color: rgb(255, 251, 122) | |
| CMYK | cmyk(0%, 2%, 52%, 0%) | — | |
| HSV | hsv(58, 52%, 100%) | — | |
| HWB | hwb(58 48% 0%) | color: hwb(58 48% 0%) | |
| OKLCH | oklch(0.9662 0.1506 107.29) | color: oklch(0.9662 0.1506 107.29) | |
| Lab | lab(96.68 -15.09 61.41) | color: lab(96.68 -15.09 61.41) | |
| LCH | lch(96.68 63.24 103.81) | color: lch(96.68 63.24 103.81) |
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)
#FDFD99 — rgb(253, 253, 153)
Deuteranopia (Green-blind)
#FEFEA1 — rgb(254, 254, 161)
Tritanopia (Blue-blind)
#FFB2B7 — rgb(255, 178, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 100%, 74%);
text
color: hsl(58, 100%, 74%);
border
border: 2px solid hsl(58, 100%, 74%);
gradient light
background: linear-gradient(to right, hsl(58, 100%, 94%), hsl(58, 100%, 74%));
gradient dark
background: linear-gradient(to right, hsl(58, 100%, 74%), hsl(58, 100%, 54%))
hex
background-color: #FFFB7A;
tailwind
bg-[hsl(58,100%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 100%, 74%, 0.4);
css variable
--color-primary: hsl(58, 100%, 74%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 100%, 74%)?
HEX: #FFFB7A | RGB: rgb(255, 251, 122) | CMYK: 0%, 2%, 52%, 0% | HSV: 58°, 52%, 100%. Copy any format from the conversion table above.
What colors go well with #FFFB7A?
The complementary color is HSL(238, 100%, 74%). For a triadic harmony, use hues 58°, 178°, and 298°. For analogous combinations, try hues 28° and 88°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(58, 100%, 74%) in CSS?
As HSL: color: hsl(58, 100%, 74%); — As HEX: color: #FFFB7A; — As RGB: color: rgb(255, 251, 122); — Tailwind CSS: bg-[hsl(58,100%,74%)] — CSS variable: --color-primary: hsl(58, 100%, 74%);