#F0D70E

#f0d70e ≈ Citrine

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

#f0d70e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 84.31% green and 5.49% blue; printed in CMYK it uses 0% cyan, 10.42% magenta, 94.17% yellow and 5.88% black. Its hue angle is 53.36°, with 88.98% saturation and 49.8% 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.43:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.2.

Description generated from the measured properties of this color.

Conversions of #f0d70e 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.6716

Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d6d6d6 ≈ 0.003% of males
Achromatomaly #e1d6ab ≈ 0.001% of males
Protanopia #edd100 ≈ 1.01% of males
Deuteranopia #f4da2a ≈ 1.27% of males
Tritanopia #ffc6b7 ≈ 0.0001% of males
Protanomaly #eed300 ≈ 1.08% of males
Deuteranomaly #f2d922 ≈ 4.63% of males
Tritanomaly #fccd92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0d70e {
  color: #f0d70e;
}
Background
.bg-f0d70e {
  background-color: #f0d70e;
  color: #000000;
}
Border
.border-f0d70e {
  border: 2px solid #f0d70e;
}
CSS variables
:root {
  --color-primary: #f0d70e;
  --color-primary-rgb: 240 215 14;
  --color-primary-hsl: 53 89% 50%;
}
Gradient
.gradient-f0d70e {
  background: linear-gradient(135deg, #f0d70e, #98f00e);
}
Colored shadow
.shadow-f0d70e {
  box-shadow: 0 8px 24px rgb(240 215 14 / 0.35);
}

Citrine
#f0d70e  rgb(240, 215, 14)  hsl(53, 89%, 50%)  Citrine
#0e27f0  rgb(14, 39, 240)  hsl(233, 89%, 50%)  Blue
#0ef0d7  rgb(14, 240, 215)  hsl(173, 89%, 50%)  Turquoise Blue
#d70ef0  rgb(215, 14, 240)  hsl(293, 89%, 50%)  Electric Purple