#FBEF7A

#fbef7a ≈ Khaki

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#fbef7a is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 98.43% red, 93.73% green and 47.84% blue; printed in CMYK it uses 0% cyan, 4.78% magenta, 51.39% yellow and 1.57% black. Its hue angle is 54.42°, with 94.16% saturation and 73.14% 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.73:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.18.

Description generated from the measured properties of this color.

Conversions of #fbef7a 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.8365

Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #f2edc8 ≈ 0.001% of males
Protanopia #ffe86f ≈ 1.01% of males
Deuteranopia #ffef80 ≈ 1.27% of males
Tritanopia #ffe1d4 ≈ 0.0001% of males
Protanomaly #feeb74 ≈ 1.08% of males
Deuteranomaly #ffef7d ≈ 4.63% of males
Tritanomaly #ffe7b7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbef7a {
  color: #fbef7a;
}
Background
.bg-fbef7a {
  background-color: #fbef7a;
  color: #000000;
}
Border
.border-fbef7a {
  border: 2px solid #fbef7a;
}
CSS variables
:root {
  --color-primary: #fbef7a;
  --color-primary-rgb: 251 239 122;
  --color-primary-hsl: 54 94% 73%;
}
Gradient
.gradient-fbef7a {
  background: linear-gradient(135deg, #fbef7a, #c7fb7a);
}
Colored shadow
.shadow-fbef7a {
  box-shadow: 0 8px 24px rgb(251 239 122 / 0.35);
}

Khaki
#fbef7a  rgb(251, 239, 122)  hsl(54, 94%, 73%)  Khaki
#7a86fb  rgb(122, 134, 251)  hsl(234, 94%, 73%)  Cornflower Blue
#7afbef  rgb(122, 251, 239)  hsl(174, 94%, 73%)  Turquoise Blue
#ef7afb  rgb(239, 122, 251)  hsl(294, 94%, 73%)  Fuchsia Pink