#F2ED7B

#f2ed7b ≈ Khaki

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

#f2ed7b 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 48.24% blue; printed in CMYK it uses 0% cyan, 2.07% magenta, 49.17% yellow and 5.1% black. Its hue angle is 57.48°, with 82.07% saturation and 71.57% 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.18:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #f2ed7b 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.8088

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

Achromatopsia #e8e8e8 ≈ 0.003% of males
Achromatomaly #eceac6 ≈ 0.001% of males
Protanopia #fde571 ≈ 1.01% of males
Deuteranopia #ffeb81 ≈ 1.27% of males
Tritanopia #ffe0d3 ≈ 0.0001% of males
Protanomaly #f9e975 ≈ 1.08% of males
Deuteranomaly #fbec7e ≈ 4.63% of males
Tritanomaly #fbe6b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#f2ed7b  rgb(242, 237, 123)  hsl(57, 82%, 72%)  Khaki
#7b80f2  rgb(123, 128, 242)  hsl(237, 82%, 72%)  Medium Slate Blue
#7bf2ed  rgb(123, 242, 237)  hsl(177, 82%, 72%)  Electric Blue
#ed7bf2  rgb(237, 123, 242)  hsl(297, 82%, 72%)  Violet