#F4DC8A

#f4dc8a ≈ Buff

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

#f4dc8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 95.69% red, 86.27% green and 54.12% blue; printed in CMYK it uses 0% cyan, 9.84% magenta, 43.44% yellow and 4.31% black. Its hue angle is 46.42°, with 82.81% saturation and 74.9% 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 15.45:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 1.87.

Description generated from the measured properties of this color.

Conversions of #f4dc8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.7225

Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #e7ddc1 ≈ 0.001% of males
Protanopia #ecd984 ≈ 1.01% of males
Deuteranopia #f2e08d ≈ 1.27% of males
Tritanopia #ffd0c8 ≈ 0.0001% of males
Protanomaly #efda86 ≈ 1.08% of males
Deuteranomaly #f3df8c ≈ 4.63% of males
Tritanomaly #fdd5b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f4dc8a {
  color: #f4dc8a;
}
Background
.bg-f4dc8a {
  background-color: #f4dc8a;
  color: #000000;
}
Border
.border-f4dc8a {
  border: 2px solid #f4dc8a;
}
CSS variables
:root {
  --color-primary: #f4dc8a;
  --color-primary-rgb: 244 220 138;
  --color-primary-hsl: 46 83% 75%;
}
Gradient
.gradient-f4dc8a {
  background: linear-gradient(135deg, #f4dc8a, #d7f48a);
}
Colored shadow
.shadow-f4dc8a {
  box-shadow: 0 8px 24px rgb(244 220 138 / 0.35);
}

Buff
#f4dc8a  rgb(244, 220, 138)  hsl(46, 83%, 75%)  Buff
#8aa2f4  rgb(138, 162, 244)  hsl(226, 83%, 75%)  Cornflower Blue
#8af4dc  rgb(138, 244, 220)  hsl(166, 83%, 75%)  Aquamarine
#dc8af4  rgb(220, 138, 244)  hsl(286, 83%, 75%)  Violet