#FAF296

#faf296 ≈ Khaki

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

#faf296 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.04% red, 94.9% green and 58.82% blue; printed in CMYK it uses 0% cyan, 3.2% magenta, 40% yellow and 1.96% black. Its hue angle is 55.2°, with 90.91% saturation and 78.43% 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.21:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.54.

Description generated from the measured properties of this color.

Conversions of #faf296 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.8603

Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f3f0d1 ≈ 0.001% of males
Protanopia #ffec8f ≈ 1.01% of males
Deuteranopia #fff19a ≈ 1.27% of males
Tritanopia #ffe7db ≈ 0.0001% of males
Protanomaly #feee92 ≈ 1.08% of males
Deuteranomaly #fff198 ≈ 4.63% of males
Tritanomaly #ffebc3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-faf296 {
  color: #faf296;
}
Background
.bg-faf296 {
  background-color: #faf296;
  color: #000000;
}
Border
.border-faf296 {
  border: 2px solid #faf296;
}
CSS variables
:root {
  --color-primary: #faf296;
  --color-primary-rgb: 250 242 150;
  --color-primary-hsl: 55 91% 78%;
}
Gradient
.gradient-faf296 {
  background: linear-gradient(135deg, #faf296, #d0fa96);
}
Colored shadow
.shadow-faf296 {
  box-shadow: 0 8px 24px rgb(250 242 150 / 0.35);
}

Khaki
#faf296  rgb(250, 242, 150)  hsl(55, 91%, 78%)  Khaki
#969efa  rgb(150, 158, 250)  hsl(235, 91%, 78%)  Cornflower Blue
#96faf2  rgb(150, 250, 242)  hsl(175, 91%, 78%)  Celeste
#f296fa  rgb(242, 150, 250)  hsl(295, 91%, 78%)  Violet