#F4E78C

#f4e78c ≈ Khaki

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

#f4e78c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 95.69% red, 90.59% green and 54.9% blue; printed in CMYK it uses 0% cyan, 5.33% magenta, 42.62% yellow and 4.31% black. Its hue angle is 52.5°, with 82.54% saturation and 75.29% 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.66:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 0.89.

Description generated from the measured properties of this color.

Conversions of #f4e78c 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.7828

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

Achromatopsia #e5e5e5 ≈ 0.003% of males
Achromatomaly #ebe6c8 ≈ 0.001% of males
Protanopia #f6e285 ≈ 1.01% of males
Deuteranopia #fae890 ≈ 1.27% of males
Tritanopia #ffdbd1 ≈ 0.0001% of males
Protanomaly #f5e488 ≈ 1.08% of males
Deuteranomaly #f8e78e ≈ 4.63% of males
Tritanomaly #fde0b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f4e78c {
  color: #f4e78c;
}
Background
.bg-f4e78c {
  background-color: #f4e78c;
  color: #000000;
}
Border
.border-f4e78c {
  border: 2px solid #f4e78c;
}
CSS variables
:root {
  --color-primary: #f4e78c;
  --color-primary-rgb: 244 231 140;
  --color-primary-hsl: 53 83% 75%;
}
Gradient
.gradient-f4e78c {
  background: linear-gradient(135deg, #f4e78c, #cdf48c);
}
Colored shadow
.shadow-f4e78c {
  box-shadow: 0 8px 24px rgb(244 231 140 / 0.35);
}

Khaki
#f4e78c  rgb(244, 231, 140)  hsl(53, 83%, 75%)  Khaki
#8c99f4  rgb(140, 153, 244)  hsl(233, 83%, 75%)  Cornflower Blue
#8cf4e7  rgb(140, 244, 231)  hsl(173, 83%, 75%)  Turquoise Blue
#e78cf4  rgb(231, 140, 244)  hsl(293, 83%, 75%)  Violet