#F0D142

#f0d142 ≈ Naples Yellow

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

#f0d142 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 81.96% green and 25.88% blue; printed in CMYK it uses 0% cyan, 12.92% magenta, 72.5% yellow and 5.88% black. Its hue angle is 49.31°, with 85.29% saturation and 60% 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 13.9:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #f0d142 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.6452

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #dfd2ab ≈ 0.001% of males
Protanopia #e6cc2a ≈ 1.01% of males
Deuteranopia #eed64b ≈ 1.27% of males
Tritanopia #ffc1b5 ≈ 0.0001% of males
Protanomaly #eace35 ≈ 1.08% of males
Deuteranomaly #efd447 ≈ 4.63% of males
Tritanomaly #fcc895 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0d142 {
  color: #f0d142;
}
Background
.bg-f0d142 {
  background-color: #f0d142;
  color: #000000;
}
Border
.border-f0d142 {
  border: 2px solid #f0d142;
}
CSS variables
:root {
  --color-primary: #f0d142;
  --color-primary-rgb: 240 209 66;
  --color-primary-hsl: 49 85% 60%;
}
Gradient
.gradient-f0d142 {
  background: linear-gradient(135deg, #f0d142, #b8f042);
}
Colored shadow
.shadow-f0d142 {
  box-shadow: 0 8px 24px rgb(240 209 66 / 0.35);
}

Naples Yellow
#f0d142  rgb(240, 209, 66)  hsl(49, 85%, 60%)  Naples Yellow
#4261f0  rgb(66, 97, 240)  hsl(229, 85%, 60%)  Ultramarine Blue
#42f0d1  rgb(66, 240, 209)  hsl(169, 85%, 60%)  Turquoise
#d142f0  rgb(209, 66, 240)  hsl(289, 85%, 60%)  Medium Orchid