#E7C021

#e7c021 ≈ Jonquil

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

#e7c021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.59% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 16.88% magenta, 85.71% yellow and 9.41% black. Its hue angle is 48.18°, with 80.49% saturation and 51.76% 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 11.96:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #e7c021 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.548

Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #d3c29d ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #e0c82f ≈ 1.27% of males
Tritanopia #faafa4 ≈ 0.0001% of males
Protanomaly #ddbe00 ≈ 1.08% of males
Deuteranomaly #e3c52a ≈ 4.63% of males
Tritanomaly #f3b684 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e7c021 {
  color: #e7c021;
}
Background
.bg-e7c021 {
  background-color: #e7c021;
  color: #000000;
}
Border
.border-e7c021 {
  border: 2px solid #e7c021;
}
CSS variables
:root {
  --color-primary: #e7c021;
  --color-primary-rgb: 231 192 33;
  --color-primary-hsl: 48 80% 52%;
}
Gradient
.gradient-e7c021 {
  background: linear-gradient(135deg, #e7c021, #abe721);
}
Colored shadow
.shadow-e7c021 {
  box-shadow: 0 8px 24px rgb(231 192 33 / 0.35);
}

Jonquil
#e7c021  rgb(231, 192, 33)  hsl(48, 80%, 52%)  Jonquil
#2148e7  rgb(33, 72, 231)  hsl(228, 80%, 52%)  Iris
#21e7c0  rgb(33, 231, 192)  hsl(168, 80%, 52%)  Turquoise
#c021e7  rgb(192, 33, 231)  hsl(288, 80%, 52%)  Electric Purple