HexeesDigital color, made useful.
Back to catalog
Color reference#FFF8DCCornsilk

Color reference

Cornsilk

RGB
rgb(255 248 220)
HSL
hsl(48 100% 93%)
HWB
hwb(48 86% 0%)
Color family
Yellow
Recommended foreground
#000000

Calculated profile

What the numbers say

At 48° hue, Cornsilk is a high-saturation, very light, warm-hue sRGB color. Its relative luminance is 93.56%. For text on this background, #000000 produces the stronger contrast at 19.71:1.

HSL lightness
93%
HSL saturation
100%
Relative luminance
93.56%
Hue group
warm-hue

02

Copy-ready color formats

Equivalent sRGB notations calculated from the same six-digit HEX value.

03

Text contrast against this color

Ratios use WCAG relative luminance. Passing a ratio does not by itself certify an interface.

White text1.07:1

Aa

AA normal text
Fail
AA large text
Fail
AAA normal text
Fail
AAA large text
Fail
Black text19.71:1

Aa

AA normal text
Pass
AA large text
Pass
AAA normal text
Pass
AAA large text
Pass

04

Calculated tints and shades

Tints mix the color with white; shades mix it with black in sRGB.

Tints

Shades

05

Hue-wheel relationships

These colors keep the original HSL saturation and lightness while rotating hue. They are mathematical starting points, not automatic design recommendations.

06

Opacity variants

Eight-digit HEX and modern rgb() alpha syntax for the same opacity.

20%
40%
60%
80%

07

CSS starter

A small custom-property block using the calculated foreground with the stronger black-or-white contrast.

--color-cornsilk: #FFF8DC;
--color-cornsilk-rgb: 255 248 220;
--color-cornsilk-hsl: 48 100% 93%;
color: #000000;
background-color: var(--color-cornsilk);

Community review

Suggest a correction

Correction for Cornsilk#FFF8DC

Found an inaccurate name, explanation, source, or accessibility detail? Send a concise correction for editorial review.

20–2,000 characters. Plain text only.

Your email is stored only with this proposal so an editor can clarify the correction. It is never shown publicly.

08 / Verification

Where the values come from

The color name and HEX value are checked against the cited standard. RGB, HSL, HWB, luminance, and contrast are then calculated from that HEX value using published formulas.

Source for the name and HEX: W3C CSS Color 4 named colors

A practical reference for digital color.

How to use colors© 2026 Hexees · hexees.com