#F2E587

#f2e587 ≈ Khaki

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

#f2e587 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 89.8% green and 52.94% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 44.21% yellow and 5.1% black. Its hue angle is 52.71°, with 80.45% saturation and 73.92% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 16.33:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.04.

Description generated from the measured properties of this color.

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

Readable text 1.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e3e3e3 ≈ 0.003% of males
Achromatomaly #e9e4c5 ≈ 0.001% of males
Protanopia #f5e07f ≈ 1.01% of males
Deuteranopia #f9e58b ≈ 1.27% of males
Tritanopia #ffd9ce ≈ 0.0001% of males
Protanomaly #f4e283 ≈ 1.08% of males
Deuteranomaly #f6e589 ≈ 4.63% of males
Tritanomaly #fbdeb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#f2e587  rgb(242, 229, 135)  hsl(53, 80%, 74%)  Khaki
#8794f2  rgb(135, 148, 242)  hsl(233, 80%, 74%)  Cornflower Blue
#87f2e5  rgb(135, 242, 229)  hsl(173, 80%, 74%)  Turquoise
#e587f2  rgb(229, 135, 242)  hsl(293, 80%, 74%)  Violet