#FFEC87

#ffec87 ≈ Khaki

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#ffec87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 92.55% green and 52.94% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 47.06% yellow and 0% black. Its hue angle is 50.5°, with 100% saturation and 76.47% 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.6:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.27.

Description generated from the measured properties of this color.

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

Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ebebeb ≈ 0.003% of males
Achromatomaly #f3ebcb ≈ 0.001% of males
Protanopia #fde77f ≈ 1.01% of males
Deuteranopia #ffee8b ≈ 1.27% of males
Tritanopia #ffdfd4 ≈ 0.0001% of males
Protanomaly #fee982 ≈ 1.08% of males
Deuteranomaly #ffed8a ≈ 4.63% of males
Tritanomaly #ffe4ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#ffec87  rgb(255, 236, 135)  hsl(51, 100%, 76%)  Khaki
#879aff  rgb(135, 154, 255)  hsl(231, 100%, 76%)  Cornflower Blue
#87ffec  rgb(135, 255, 236)  hsl(171, 100%, 76%)  Turquoise Blue
#ec87ff  rgb(236, 135, 255)  hsl(291, 100%, 76%)  Violet