#F0D50D

#f0d50d ≈ Citrine

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

#f0d50d 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.53% green and 5.1% blue; printed in CMYK it uses 0% cyan, 11.25% magenta, 94.58% yellow and 5.88% black. Its hue angle is 52.86°, with 89.72% saturation and 49.61% 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.23:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.22.

Description generated from the measured properties of this color.

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

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #e0d5a9 ≈ 0.001% of males
Protanopia #ebcf00 ≈ 1.01% of males
Deuteranopia #f2d929 ≈ 1.27% of males
Tritanopia #ffc4b6 ≈ 0.0001% of males
Protanomaly #edd100 ≈ 1.08% of males
Deuteranomaly #f1d721 ≈ 4.63% of males
Tritanomaly #fccb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0d50d {
  color: #f0d50d;
}
Background
.bg-f0d50d {
  background-color: #f0d50d;
  color: #000000;
}
Border
.border-f0d50d {
  border: 2px solid #f0d50d;
}
CSS variables
:root {
  --color-primary: #f0d50d;
  --color-primary-rgb: 240 213 13;
  --color-primary-hsl: 53 90% 50%;
}
Gradient
.gradient-f0d50d {
  background: linear-gradient(135deg, #f0d50d, #9af00d);
}
Colored shadow
.shadow-f0d50d {
  box-shadow: 0 8px 24px rgb(240 213 13 / 0.35);
}

Citrine
#f0d50d  rgb(240, 213, 13)  hsl(53, 90%, 50%)  Citrine
#0d28f0  rgb(13, 40, 240)  hsl(233, 90%, 50%)  Blue
#0df0d5  rgb(13, 240, 213)  hsl(173, 90%, 50%)  Turquoise
#d50df0  rgb(213, 13, 240)  hsl(293, 90%, 50%)  Electric Purple