#E2A402

#e2a402 ≈ Goldenrod

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

#e2a402 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 64.31% green and 0.78% blue; printed in CMYK it uses 0% cyan, 27.43% magenta, 99.12% yellow and 11.37% black. Its hue angle is 43.39°, with 98.25% saturation and 44.71% 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 9.54:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.27.

Description generated from the measured properties of this color.

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

Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #c5ab8b ≈ 0.001% of males
Protanopia #bda600 ≈ 1.01% of males
Deuteranopia #cbb515 ≈ 1.27% of males
Tritanopia #f7928c ≈ 0.0001% of males
Protanomaly #cda500 ≈ 1.08% of males
Deuteranomaly #d5af0f ≈ 4.63% of males
Tritanomaly #ef996e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2a402 {
  color: #e2a402;
}
Background
.bg-e2a402 {
  background-color: #e2a402;
  color: #000000;
}
Border
.border-e2a402 {
  border: 2px solid #e2a402;
}
CSS variables
:root {
  --color-primary: #e2a402;
  --color-primary-rgb: 226 164 2;
  --color-primary-hsl: 43 98% 45%;
}
Gradient
.gradient-e2a402 {
  background: linear-gradient(135deg, #e2a402, #b0e202);
}
Colored shadow
.shadow-e2a402 {
  box-shadow: 0 8px 24px rgb(226 164 2 / 0.35);
}

Goldenrod
#e2a402  rgb(226, 164, 2)  hsl(43, 98%, 45%)  Goldenrod
#0240e2  rgb(2, 64, 226)  hsl(223, 98%, 45%)  Persian Blue
#02e2a4  rgb(2, 226, 164)  hsl(163, 98%, 45%)  Caribbean Green
#a402e2  rgb(164, 2, 226)  hsl(283, 98%, 45%)  Dark Violet