#E2D802

#e2d802 ≈ Dandelion

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

#e2d802 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 84.71% green and 0.78% blue; printed in CMYK it uses 0% cyan, 4.42% magenta, 99.12% yellow and 11.37% black. Its hue angle is 57.32°, 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 14.06:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 2.65.

Description generated from the measured properties of this color.

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

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #d9d5a8 ≈ 0.001% of males
Protanopia #eccf00 ≈ 1.01% of males
Deuteranopia #f0d628 ≈ 1.27% of males
Tritanopia #f4c8b8 ≈ 0.0001% of males
Protanomaly #e8d300 ≈ 1.08% of males
Deuteranomaly #ead71e ≈ 4.63% of males
Tritanomaly #edcf92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dandelion
#e2d802  rgb(226, 216, 2)  hsl(57, 98%, 45%)  Dandelion
#020ce2  rgb(2, 12, 226)  hsl(237, 98%, 45%)  Medium Blue
#02e2d8  rgb(2, 226, 216)  hsl(177, 98%, 45%)  Bright Turquoise
#d802e2  rgb(216, 2, 226)  hsl(297, 98%, 45%)  Electric Purple