#FBF297

#fbf297 ≈ Khaki

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

#fbf297 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 59.22% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 39.84% yellow and 1.57% black. Its hue angle is 54.6°, with 92.59% saturation and 78.82% 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.25:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.54.

Description generated from the measured properties of this color.

Conversions of #fbf297 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.8625

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

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f4f0d2 ≈ 0.001% of males
Protanopia #ffec90 ≈ 1.01% of males
Deuteranopia #fff19b ≈ 1.27% of males
Tritanopia #ffe7dc ≈ 0.0001% of males
Protanomaly #ffee93 ≈ 1.08% of males
Deuteranomaly #fff299 ≈ 4.63% of males
Tritanomaly #ffebc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbf297 {
  color: #fbf297;
}
Background
.bg-fbf297 {
  background-color: #fbf297;
  color: #000000;
}
Border
.border-fbf297 {
  border: 2px solid #fbf297;
}
CSS variables
:root {
  --color-primary: #fbf297;
  --color-primary-rgb: 251 242 151;
  --color-primary-hsl: 55 93% 79%;
}
Gradient
.gradient-fbf297 {
  background: linear-gradient(135deg, #fbf297, #d2fb97);
}
Colored shadow
.shadow-fbf297 {
  box-shadow: 0 8px 24px rgb(251 242 151 / 0.35);
}

Khaki
#fbf297  rgb(251, 242, 151)  hsl(55, 93%, 79%)  Khaki
#97a0fb  rgb(151, 160, 251)  hsl(235, 93%, 79%)  Wild Blue Yonder
#97fbf2  rgb(151, 251, 242)  hsl(175, 93%, 79%)  Celeste
#f297fb  rgb(242, 151, 251)  hsl(295, 93%, 79%)  Violet