#FCF0A2

#fcf0a2 ≈ Khaki

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

#fcf0a2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.82% red, 94.12% green and 63.53% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 35.71% yellow and 1.18% black. Its hue angle is 52°, with 93.75% saturation and 81.18% 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 18.12:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #fcf0a2 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.8562

Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #f4efd4 ≈ 0.001% of males
Protanopia #feeb9c ≈ 1.01% of males
Deuteranopia #fff1a5 ≈ 1.27% of males
Tritanopia #ffe6dc ≈ 0.0001% of males
Protanomaly #fded9f ≈ 1.08% of males
Deuteranomaly #fff0a4 ≈ 4.63% of males
Tritanomaly #ffeac8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fcf0a2 {
  color: #fcf0a2;
}
Background
.bg-fcf0a2 {
  background-color: #fcf0a2;
  color: #000000;
}
Border
.border-fcf0a2 {
  border: 2px solid #fcf0a2;
}
CSS variables
:root {
  --color-primary: #fcf0a2;
  --color-primary-rgb: 252 240 162;
  --color-primary-hsl: 52 94% 81%;
}
Gradient
.gradient-fcf0a2 {
  background: linear-gradient(135deg, #fcf0a2, #dbfca2);
}
Colored shadow
.shadow-fcf0a2 {
  box-shadow: 0 8px 24px rgb(252 240 162 / 0.35);
}

Khaki
#fcf0a2  rgb(252, 240, 162)  hsl(52, 94%, 81%)  Khaki
#a2aefc  rgb(162, 174, 252)  hsl(232, 94%, 81%)  Wild Blue Yonder
#a2fcf0  rgb(162, 252, 240)  hsl(172, 94%, 81%)  Celeste
#f0a2fc  rgb(240, 162, 252)  hsl(292, 94%, 81%)  Mauve