#F2ED8B

#f2ed8b ≈ Khaki

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

#f2ed8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 92.94% green and 54.51% blue; printed in CMYK it uses 0% cyan, 2.07% magenta, 42.56% yellow and 5.1% black. Its hue angle is 57.09°, with 79.84% saturation and 74.71% 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 brand accents. Black text on this color reaches a contrast ratio of 17.26:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.13.

Description generated from the measured properties of this color.

Conversions of #f2ed8b 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.8131

Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #edeaca ≈ 0.001% of males
Protanopia #fce683 ≈ 1.01% of males
Deuteranopia #ffeb8f ≈ 1.27% of males
Tritanopia #ffe2d5 ≈ 0.0001% of males
Protanomaly #f8e986 ≈ 1.08% of males
Deuteranomaly #faec8e ≈ 4.63% of males
Tritanomaly #fae6bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2ed8b {
  color: #f2ed8b;
}
Background
.bg-f2ed8b {
  background-color: #f2ed8b;
  color: #000000;
}
Border
.border-f2ed8b {
  border: 2px solid #f2ed8b;
}
CSS variables
:root {
  --color-primary: #f2ed8b;
  --color-primary-rgb: 242 237 139;
  --color-primary-hsl: 57 80% 75%;
}
Gradient
.gradient-f2ed8b {
  background: linear-gradient(135deg, #f2ed8b, #c4f28b);
}
Colored shadow
.shadow-f2ed8b {
  box-shadow: 0 8px 24px rgb(242 237 139 / 0.35);
}

Khaki
#f2ed8b  rgb(242, 237, 139)  hsl(57, 80%, 75%)  Khaki
#8b90f2  rgb(139, 144, 242)  hsl(237, 80%, 75%)  Cornflower Blue
#8bf2ed  rgb(139, 242, 237)  hsl(177, 80%, 75%)  Electric Blue
#ed8bf2  rgb(237, 139, 242)  hsl(297, 80%, 75%)  Violet