#FBF2A5

#fbf2a5 ≈ Khaki

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

#fbf2a5 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 94.9% green and 64.71% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 34.26% yellow and 1.57% black. Its hue angle is 53.72°, with 91.49% saturation and 81.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 soft pastel palettes. Black text on this color reaches a contrast ratio of 18.35:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.51.

Description generated from the measured properties of this color.

Conversions of #fbf2a5 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.8673

Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f0f0f0 ≈ 0.003% of males
Achromatomaly #f4f1d6 ≈ 0.001% of males
Protanopia #ffeda0 ≈ 1.01% of males
Deuteranopia #fff2a8 ≈ 1.27% of males
Tritanopia #ffe8de ≈ 0.0001% of males
Protanomaly #feefa2 ≈ 1.08% of males
Deuteranomaly #fff2a7 ≈ 4.63% of males
Tritanomaly #ffecca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbf2a5 {
  color: #fbf2a5;
}
Background
.bg-fbf2a5 {
  background-color: #fbf2a5;
  color: #000000;
}
Border
.border-fbf2a5 {
  border: 2px solid #fbf2a5;
}
CSS variables
:root {
  --color-primary: #fbf2a5;
  --color-primary-rgb: 251 242 165;
  --color-primary-hsl: 54 91% 82%;
}
Gradient
.gradient-fbf2a5 {
  background: linear-gradient(135deg, #fbf2a5, #d9fba5);
}
Colored shadow
.shadow-fbf2a5 {
  box-shadow: 0 8px 24px rgb(251 242 165 / 0.35);
}

Khaki
#fbf2a5  rgb(251, 242, 165)  hsl(54, 91%, 82%)  Khaki
#a5aefb  rgb(165, 174, 251)  hsl(234, 91%, 82%)  Wild Blue Yonder
#a5fbf2  rgb(165, 251, 242)  hsl(174, 91%, 82%)  Celeste
#f2a5fb  rgb(242, 165, 251)  hsl(294, 91%, 82%)  Mauve