#F2F07D

#f2f07d ≈ Pastel Yellow

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#f2f07d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 94.12% green and 49.02% blue; printed in CMYK it uses 0% cyan, 0.83% magenta, 48.35% yellow and 5.1% black. Its hue angle is 58.97°, with 81.82% saturation and 71.96% 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 17.54:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.3.

Description generated from the measured properties of this color.

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

Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ebebeb ≈ 0.003% of males
Achromatomaly #eeedc8 ≈ 0.001% of males
Protanopia #ffe873 ≈ 1.01% of males
Deuteranopia #ffed83 ≈ 1.27% of males
Tritanopia #ffe3d6 ≈ 0.0001% of males
Protanomaly #fbeb77 ≈ 1.08% of males
Deuteranomaly #fcee80 ≈ 4.63% of males
Tritanomaly #fbe9b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2f07d {
  color: #f2f07d;
}
Background
.bg-f2f07d {
  background-color: #f2f07d;
  color: #000000;
}
Border
.border-f2f07d {
  border: 2px solid #f2f07d;
}
CSS variables
:root {
  --color-primary: #f2f07d;
  --color-primary-rgb: 242 240 125;
  --color-primary-hsl: 59 82% 72%;
}
Gradient
.gradient-f2f07d {
  background: linear-gradient(135deg, #f2f07d, #baf27d);
}
Colored shadow
.shadow-f2f07d {
  box-shadow: 0 8px 24px rgb(242 240 125 / 0.35);
}

Pastel Yellow
#f2f07d  rgb(242, 240, 125)  hsl(59, 82%, 72%)  Pastel Yellow
#7d7ff2  rgb(125, 127, 242)  hsl(239, 82%, 72%)  Medium Slate Blue
#7df2f0  rgb(125, 242, 240)  hsl(179, 82%, 72%)  Electric Blue
#f07df2  rgb(240, 125, 242)  hsl(299, 82%, 72%)  Violet