#F2E79B

#f2e79b ≈ Khaki

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

#f2e79b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 90.59% green and 60.78% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 35.95% yellow and 5.1% black. Its hue angle is 52.41°, with 76.99% saturation and 77.84% 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 16.68:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #f2e79b 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.784

Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e5e5e5 ≈ 0.003% of males
Achromatomaly #eae6cc ≈ 0.001% of males
Protanopia #f5e296 ≈ 1.01% of males
Deuteranopia #f8e79e ≈ 1.27% of males
Tritanopia #feddd4 ≈ 0.0001% of males
Protanomaly #f4e498 ≈ 1.08% of males
Deuteranomaly #f6e79d ≈ 4.63% of males
Tritanomaly #fae1c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2e79b {
  color: #f2e79b;
}
Background
.bg-f2e79b {
  background-color: #f2e79b;
  color: #000000;
}
Border
.border-f2e79b {
  border: 2px solid #f2e79b;
}
CSS variables
:root {
  --color-primary: #f2e79b;
  --color-primary-rgb: 242 231 155;
  --color-primary-hsl: 52 77% 78%;
}
Gradient
.gradient-f2e79b {
  background: linear-gradient(135deg, #f2e79b, #d1f29b);
}
Colored shadow
.shadow-f2e79b {
  box-shadow: 0 8px 24px rgb(242 231 155 / 0.35);
}

Khaki
#f2e79b  rgb(242, 231, 155)  hsl(52, 77%, 78%)  Khaki
#9ba6f2  rgb(155, 166, 242)  hsl(232, 77%, 78%)  Wild Blue Yonder
#9bf2e7  rgb(155, 242, 231)  hsl(172, 77%, 78%)  Celeste
#e79bf2  rgb(231, 155, 242)  hsl(292, 77%, 78%)  Plum