#F0D41C

#f0d41c ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#f0d41c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 83.14% green and 10.98% blue; printed in CMYK it uses 0% cyan, 11.67% magenta, 88.33% yellow and 5.88% black. Its hue angle is 52.08°, with 87.6% saturation and 52.55% 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 14.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.3.

Description generated from the measured properties of this color.

Conversions of #f0d41c 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.657

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #e0d4a9 ≈ 0.001% of males
Protanopia #eace00 ≈ 1.01% of males
Deuteranopia #f2d830 ≈ 1.27% of males
Tritanopia #ffc3b5 ≈ 0.0001% of males
Protanomaly #ecd100 ≈ 1.08% of males
Deuteranomaly #f1d629 ≈ 4.63% of males
Tritanomaly #fcca91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0d41c {
  color: #f0d41c;
}
Background
.bg-f0d41c {
  background-color: #f0d41c;
  color: #000000;
}
Border
.border-f0d41c {
  border: 2px solid #f0d41c;
}
CSS variables
:root {
  --color-primary: #f0d41c;
  --color-primary-rgb: 240 212 28;
  --color-primary-hsl: 52 88% 53%;
}
Gradient
.gradient-f0d41c {
  background: linear-gradient(135deg, #f0d41c, #a2f01c);
}
Colored shadow
.shadow-f0d41c {
  box-shadow: 0 8px 24px rgb(240 212 28 / 0.35);
}

Citrine
#f0d41c  rgb(240, 212, 28)  hsl(52, 88%, 53%)  Citrine
#1c38f0  rgb(28, 56, 240)  hsl(232, 88%, 53%)  Han Purple
#1cf0d4  rgb(28, 240, 212)  hsl(172, 88%, 53%)  Turquoise
#d41cf0  rgb(212, 28, 240)  hsl(292, 88%, 53%)  Electric Purple