#F2EC77

#f2ec77 ≈ Khaki

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

#f2ec77 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.55% green and 46.67% blue; printed in CMYK it uses 0% cyan, 2.48% magenta, 50.83% yellow and 5.1% black. Its hue angle is 57.07°, with 82.55% saturation and 70.78% 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 17.04:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.94.

Description generated from the measured properties of this color.

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

Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e7e7e7 ≈ 0.003% of males
Achromatomaly #ece9c4 ≈ 0.001% of males
Protanopia #fde46c ≈ 1.01% of males
Deuteranopia #ffea7d ≈ 1.27% of males
Tritanopia #ffdfd1 ≈ 0.0001% of males
Protanomaly #f9e871 ≈ 1.08% of males
Deuteranomaly #faeb7b ≈ 4.63% of males
Tritanomaly #fbe4b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2ec77 {
  color: #f2ec77;
}
Background
.bg-f2ec77 {
  background-color: #f2ec77;
  color: #000000;
}
Border
.border-f2ec77 {
  border: 2px solid #f2ec77;
}
CSS variables
:root {
  --color-primary: #f2ec77;
  --color-primary-rgb: 242 236 119;
  --color-primary-hsl: 57 83% 71%;
}
Gradient
.gradient-f2ec77 {
  background: linear-gradient(135deg, #f2ec77, #baf277);
}
Colored shadow
.shadow-f2ec77 {
  box-shadow: 0 8px 24px rgb(242 236 119 / 0.35);
}

Khaki
#f2ec77  rgb(242, 236, 119)  hsl(57, 83%, 71%)  Khaki
#777df2  rgb(119, 125, 242)  hsl(237, 83%, 71%)  Medium Slate Blue
#77f2ec  rgb(119, 242, 236)  hsl(177, 83%, 71%)  Electric Blue
#ec77f2  rgb(236, 119, 242)  hsl(297, 83%, 71%)  Violet