#F5D42E

#f5d42e ≈ Gold

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

#f5d42e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 13.47% magenta, 81.22% yellow and 3.92% black. Its hue angle is 50.05°, with 90.87% 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 14.34:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #f5d42e 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.667

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

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #e3d5ac ≈ 0.001% of males
Protanopia #eacf00 ≈ 1.01% of males
Deuteranopia #f3da3b ≈ 1.27% of males
Tritanopia #ffc3b6 ≈ 0.0001% of males
Protanomaly #efd114 ≈ 1.08% of males
Deuteranomaly #f4d836 ≈ 4.63% of males
Tritanomaly #ffca93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5d42e {
  color: #f5d42e;
}
Background
.bg-f5d42e {
  background-color: #f5d42e;
  color: #000000;
}
Border
.border-f5d42e {
  border: 2px solid #f5d42e;
}
CSS variables
:root {
  --color-primary: #f5d42e;
  --color-primary-rgb: 245 212 46;
  --color-primary-hsl: 50 91% 57%;
}
Gradient
.gradient-f5d42e {
  background: linear-gradient(135deg, #f5d42e, #b3f52e);
}
Colored shadow
.shadow-f5d42e {
  box-shadow: 0 8px 24px rgb(245 212 46 / 0.35);
}

Gold
#f5d42e  rgb(245, 212, 46)  hsl(50, 91%, 57%)  Gold
#2e4ff5  rgb(46, 79, 245)  hsl(230, 91%, 57%)  Majorelle Blue
#2ef5d4  rgb(46, 245, 212)  hsl(170, 91%, 57%)  Turquoise Blue
#d42ef5  rgb(212, 46, 245)  hsl(290, 91%, 57%)  Electric Purple