#FFEBC3

#ffebc3 ≈ Moccasin

  • yellow
  • Lightness: very high
  • Saturation: muted
  • Warm

#ffebc3 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 92.16% green and 76.47% blue; printed in CMYK it uses 0% cyan, 7.84% magenta, 23.53% yellow and 0% black. Its hue angle is 40°, with 100% saturation and 88.24% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 17.92:1 (WCAG AAA). The closest named color is Moccasin (#ffe4b5), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #ffebc3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffffcc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.8462

Readable text 1.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ededed ≈ 0.003% of males
Achromatomaly #f4ecdd ≈ 0.001% of males
Protanopia #f5eac1 ≈ 1.01% of males
Deuteranopia #faefc4 ≈ 1.27% of males
Tritanopia #ffe4e0 ≈ 0.0001% of males
Protanomaly #f9eac2 ≈ 1.08% of males
Deuteranomaly #fceec4 ≈ 4.63% of males
Tritanomaly #ffe7d5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffebc3 {
  color: #ffebc3;
}
Background
.bg-ffebc3 {
  background-color: #ffebc3;
  color: #000000;
}
Border
.border-ffebc3 {
  border: 2px solid #ffebc3;
}
CSS variables
:root {
  --color-primary: #ffebc3;
  --color-primary-rgb: 255 235 195;
  --color-primary-hsl: 40 100% 88%;
}
Gradient
.gradient-ffebc3 {
  background: linear-gradient(135deg, #ffebc3, #f5ffc3);
}
Colored shadow
.shadow-ffebc3 {
  box-shadow: 0 8px 24px rgb(255 235 195 / 0.35);
}

Moccasin
#ffebc3  rgb(255, 235, 195)  hsl(40, 100%, 88%)  Moccasin
#c3d7ff  rgb(195, 215, 255)  hsl(220, 100%, 88%)  Light Steel Blue
#c3ffeb  rgb(195, 255, 235)  hsl(160, 100%, 88%)  Magic Mint
#ebc3ff  rgb(235, 195, 255)  hsl(280, 100%, 88%)  Mauve