#F2EC31

#f2ec31 ≈ Titanium Yellow

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

#f2ec31 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 92.55% green and 19.22% blue; printed in CMYK it uses 0% cyan, 2.48% magenta, 79.75% yellow and 5.1% black. Its hue angle is 58.13°, with 88.13% saturation and 57.06% 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 16.82:1 (WCAG AAA). The closest named color is Titanium Yellow (#eee600), ΔE 1.84.

Description generated from the measured properties of this color.

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

Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e6e6e6 ≈ 0.003% of males
Achromatomaly #ebe8b9 ≈ 0.001% of males
Protanopia #ffe200 ≈ 1.01% of males
Deuteranopia #ffe942 ≈ 1.27% of males
Tritanopia #ffdcca ≈ 0.0001% of males
Protanomaly #fbe610 ≈ 1.08% of males
Deuteranomaly #fdea3c ≈ 4.63% of males
Tritanomaly #fde3a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2ec31 {
  color: #f2ec31;
}
Background
.bg-f2ec31 {
  background-color: #f2ec31;
  color: #000000;
}
Border
.border-f2ec31 {
  border: 2px solid #f2ec31;
}
CSS variables
:root {
  --color-primary: #f2ec31;
  --color-primary-rgb: 242 236 49;
  --color-primary-hsl: 58 88% 57%;
}
Gradient
.gradient-f2ec31 {
  background: linear-gradient(135deg, #f2ec31, #98f231);
}
Colored shadow
.shadow-f2ec31 {
  box-shadow: 0 8px 24px rgb(242 236 49 / 0.35);
}

Titanium Yellow
#f2ec31  rgb(242, 236, 49)  hsl(58, 88%, 57%)  Titanium Yellow
#3137f2  rgb(49, 55, 242)  hsl(238, 88%, 57%)  Han Purple
#31f2ec  rgb(49, 242, 236)  hsl(178, 88%, 57%)  Bright Turquoise
#ec31f2  rgb(236, 49, 242)  hsl(298, 88%, 57%)  Fuchsia