CSS Named Color
Copy-ready color values
HEX
#FFE4B5RGB
rgb(255, 228, 181)HSL
hsl(38, 100%, 85%)HSV
hsv(38, 29%, 100%)CMYK approx.
cmyk(0, 11, 29, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #FFE4B5 | |
| RGB | rgb(255, 228, 181) | |
| HSL | hsl(38, 100%, 85%) | |
| HSV | hsv(38, 29%, 100%) | |
| CMYK approx. | cmyk(0, 11, 29, 0) | |
| CSS keyword | moccasin |
Contrast and classification
LightLightness1.23:1Contrast with white17.02:1Contrast with blackRed / OrangeColor family
Shade and tint preview
White 10%#FFE7BC
White 30%#FFECCB
White 70%#FFF7E9
White 90%#FFFCF8
Black 10%#E6CDA3
Black 30%#B3A07F
Black 70%#4D4436
Black 90%#1A1712
Harmony palettes
Complementary
#001B4A#3D5275Analogous
#FCE4BE#FFDEBBTriadic
#E4B5FF#B5FFE4Split complementary
#2E446B#00163DUsing Moccasin
Moccasin works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-moccasin: #ffe4b5;
}
.button-primary {
background: var(--color-moccasin);
color: #000000;
}
$moccasin: #ffe4b5;
// Tailwind arbitrary value
class="bg-[#ffe4b5] text-white"