#DEC802

#dec802 ≈ Citrine

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

#dec802 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 78.43% green and 0.78% blue; printed in CMYK it uses 0% cyan, 9.91% magenta, 99.1% yellow and 12.94% black. Its hue angle is 54°, with 98.21% saturation and 43.92% 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 12.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #dec802 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.5684

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #d0c79e ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #e3ca23 ≈ 1.27% of males
Tritanopia #f0b8aa ≈ 0.0001% of males
Protanomaly #ddc400 ≈ 1.08% of males
Deuteranomaly #e1c91a ≈ 4.63% of males
Tritanomaly #e9bf87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec802 {
  color: #dec802;
}
Background
.bg-dec802 {
  background-color: #dec802;
  color: #000000;
}
Border
.border-dec802 {
  border: 2px solid #dec802;
}
CSS variables
:root {
  --color-primary: #dec802;
  --color-primary-rgb: 222 200 2;
  --color-primary-hsl: 54 98% 44%;
}
Gradient
.gradient-dec802 {
  background: linear-gradient(135deg, #dec802, #86de02);
}
Colored shadow
.shadow-dec802 {
  box-shadow: 0 8px 24px rgb(222 200 2 / 0.35);
}

Citrine
#dec802  rgb(222, 200, 2)  hsl(54, 98%, 44%)  Citrine
#0218de  rgb(2, 24, 222)  hsl(234, 98%, 44%)  Medium Blue
#02dec8  rgb(2, 222, 200)  hsl(174, 98%, 44%)  Turquoise
#c802de  rgb(200, 2, 222)  hsl(294, 98%, 44%)  Electric Purple