Sun yellow to HSL — Color Code

HSL

hsl(51.3, 100%, 56.7%)

Format Value
HEX #ffdf22
RGB rgb(255, 223, 34)
HSL hsl(51.3, 100%, 56.7%)
CMYK cmyk(0%, 12.5%, 86.7%, 0%)

What is the HSL code for sun yellow?

The CSS color sun yellow in HSL format is hsl(51.3, 100%, 56.7%). Use this value directly in CSS, SVG, and most design tools.

How do I use sun yellow in CSS?

To apply sun yellow in CSS:

  • Text color: color: hsl(51.3, 100%, 56.7%);
  • Background: background-color: hsl(51.3, 100%, 56.7%);
  • Border: border-color: hsl(51.3, 100%, 56.7%);

What are all the color format values for sun yellow?

FormatValue
HEX#ffdf22
RGBrgb(255, 223, 34)
HSLhsl(51.3, 100%, 56.7%)
CMYKcmyk(0%, 12.5%, 86.7%, 0%)

How do I convert sun yellow to HSL?

Select sun yellow from the color name list in our color converter. The HSL value — hsl(51.3, 100%, 56.7%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does sun yellow belong to?

sun yellow belongs to the yellow color family. It is a medium, vivid color with HSL values: hue 51.3°, saturation 100%, lightness 56.7%.

How do I create lighter and darker shades of sun yellow?

Lighter variant (lightness 71.7%): #ffea6f. Darker variant (lightness 41.7%): #d5b600. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.