Cornsilk Color

HEX, RGB, HSL & CMYK Codes

#fff8dc
Format Value
HEX #fff8dc
RGB rgb(255, 248, 220)
HSL hsl(48, 100%, 93.1%)
CMYK cmyk(0%, 2.7%, 13.7%, 0%)
HSV hsv(48, 13.7%, 100%)

cornsilk color harmonies

Tints & shades of cornsilk

Tints (lighter)

#fff9df #fff9e2 #fffae6 #fffbe9 #fffbec #fffcef #fffcf2 #fffdf5 #fffef9 #fffefc

Shades (darker)

#e8e1c8 #d1cbb4 #b9b4a0 #a29e8c #8b8778 #747164 #5d5a50 #46443c #2e2d28 #171714

Contrast & accessibility

The quick brown fox

On white · 1.07:1 · Fail

The quick brown fox

On black · 19.71:1 · AAA

Recommended text color: #000000

Use cornsilk in code

CSS color: #fff8dc;
SCSS $color: #fff8dc;
Tailwind bg-[#fff8dc]
Swift UIColor(red: 1.000, green: 0.973, blue: 0.863, alpha: 1)
Android Color.parseColor("#fff8dc")
Flutter Color(0xFFFFF8DC)

Colors similar to cornsilk

Browse all Yellow colors →

What is the HEX code for cornsilk?

The CSS color cornsilk in HEX format is #fff8dc. Use this value directly in CSS, SVG, and most design tools.

How do I use cornsilk in CSS?

To apply cornsilk in CSS:

  • Text color: color: #fff8dc;
  • Background: background-color: #fff8dc;
  • Border: border-color: #fff8dc;

What are all the color format values for cornsilk?

FormatValue
HEX#fff8dc
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93.1%)
CMYKcmyk(0%, 2.7%, 13.7%, 0%)

How do I convert cornsilk to HEX?

Select cornsilk from the color name list in our color converter. The HEX value — #fff8dc — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cornsilk belong to?

cornsilk belongs to the near-white color family. It is a light, vivid color with HSL values: hue 48°, saturation 100%, lightness 93.1%.

How do I create lighter and darker shades of cornsilk?

Lighter variant (lightness 95%): #fffae5. Darker variant (lightness 78.1%): #ffe98f. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.