#F0DC4A

#f0dc4a ≈ Dandelion

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#f0dc4a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 86.27% green and 29.02% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 69.17% yellow and 5.88% black. Its hue angle is 52.77°, with 84.69% saturation and 61.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 15.04:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 2.63.

Description generated from the measured properties of this color.

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

Readable text 1.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dadada ≈ 0.003% of males
Achromatomaly #e3dbb3 ≈ 0.001% of males
Protanopia #f0d634 ≈ 1.01% of males
Deuteranopia #f6de53 ≈ 1.27% of males
Tritanopia #ffcdbf ≈ 0.0001% of males
Protanomaly #f0d83e ≈ 1.08% of males
Deuteranomaly #f4dd50 ≈ 4.63% of males
Tritanomaly #fbd39d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0dc4a {
  color: #f0dc4a;
}
Background
.bg-f0dc4a {
  background-color: #f0dc4a;
  color: #000000;
}
Border
.border-f0dc4a {
  border: 2px solid #f0dc4a;
}
CSS variables
:root {
  --color-primary: #f0dc4a;
  --color-primary-rgb: 240 220 74;
  --color-primary-hsl: 53 85% 62%;
}
Gradient
.gradient-f0dc4a {
  background: linear-gradient(135deg, #f0dc4a, #b1f04a);
}
Colored shadow
.shadow-f0dc4a {
  box-shadow: 0 8px 24px rgb(240 220 74 / 0.35);
}

Dandelion
#f0dc4a  rgb(240, 220, 74)  hsl(53, 85%, 62%)  Dandelion
#4a5ef0  rgb(74, 94, 240)  hsl(233, 85%, 62%)  Ultramarine Blue
#4af0dc  rgb(74, 240, 220)  hsl(173, 85%, 62%)  Turquoise
#dc4af0  rgb(220, 74, 240)  hsl(293, 85%, 62%)  Fuchsia