HexeesDigital color, made useful.

Color reference#FFE4B5Moccasin

Color reference

Moccasin

Color family
Yellow
Recommended foreground
#000000

Calculated profile

What the numbers say

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

HSL lightness
85%
HSL saturation
100%
Relative luminance
80.08%
Hue group
warm-hue

02

Copy-ready color formats

Equivalent CSS notations calculated from the same six-digit sRGB value, including perceptual OKLCH.

03

Text contrast against this color

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

White text1.23:1
AA normal text
Fail
AA large text
Fail
AAA normal text
Fail
AAA large text
Fail
Black text17.02:1
AA normal text
Pass
AA large text
Pass
AAA normal text
Pass
AAA large text
Pass
Continue in the contrast labCheck #FFE4B5 against another colorOpen the full WCAG pair checker with this color and its strongest black-or-white foreground already filled in.

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-moccasin: #FFE4B5;
--color-moccasin-rgb: 255 228 181;
--color-moccasin-hsl: 38 100% 85%;
--color-moccasin-oklch: oklch(93% 0.0675 81.38);
color: #000000;
background-color: var(--color-moccasin);

Community review

Suggest a correction

Correction for Moccasin#FFE4B5

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 named colors
License
W3C document license
Version
CSS Color Module Level 4
Continue with the complete versioned collectionBrowse CSS named colors