#FDF28B

#fdf28b ≈ Khaki

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

#fdf28b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.22% red, 94.9% green and 54.51% blue; printed in CMYK it uses 0% cyan, 4.35% magenta, 45.06% yellow and 0.78% black. Its hue angle is 54.21°, with 96.61% saturation and 76.86% 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 3.11.

Description generated from the measured properties of this color.

Conversions of #fdf28b 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 #f5f0cf ≈ 0.001% of males
Protanopia #ffec82 ≈ 1.01% of males
Deuteranopia #fff28f ≈ 1.27% of males
Tritanopia #ffe6d9 ≈ 0.0001% of males
Protanomaly #ffee86 ≈ 1.08% of males
Deuteranomaly #fff28e ≈ 4.63% of males
Tritanomaly #ffebbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fdf28b {
  color: #fdf28b;
}
Background
.bg-fdf28b {
  background-color: #fdf28b;
  color: #000000;
}
Border
.border-fdf28b {
  border: 2px solid #fdf28b;
}
CSS variables
:root {
  --color-primary: #fdf28b;
  --color-primary-rgb: 253 242 139;
  --color-primary-hsl: 54 97% 77%;
}
Gradient
.gradient-fdf28b {
  background: linear-gradient(135deg, #fdf28b, #cffd8b);
}
Colored shadow
.shadow-fdf28b {
  box-shadow: 0 8px 24px rgb(253 242 139 / 0.35);
}

Khaki
#fdf28b  rgb(253, 242, 139)  hsl(54, 97%, 77%)  Khaki
#8b96fd  rgb(139, 150, 253)  hsl(234, 97%, 77%)  Cornflower Blue
#8bfdf2  rgb(139, 253, 242)  hsl(174, 97%, 77%)  Electric Blue
#f28bfd  rgb(242, 139, 253)  hsl(294, 97%, 77%)  Violet