#DEC804

#dec804 ≈ Citrine

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

#dec804 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 1.57% blue; printed in CMYK it uses 0% cyan, 9.91% magenta, 98.2% yellow and 12.94% black. Its hue angle is 53.94°, with 96.46% saturation and 44.31% 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.95.

Description generated from the measured properties of this color.

Conversions of #dec804 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.5685

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 #e3ca24 ≈ 1.27% of males
Tritanopia #f0b8aa ≈ 0.0001% of males
Protanomaly #ddc400 ≈ 1.08% of males
Deuteranomaly #e1c91b ≈ 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-dec804 {
  color: #dec804;
}
Background
.bg-dec804 {
  background-color: #dec804;
  color: #000000;
}
Border
.border-dec804 {
  border: 2px solid #dec804;
}
CSS variables
:root {
  --color-primary: #dec804;
  --color-primary-rgb: 222 200 4;
  --color-primary-hsl: 54 96% 44%;
}
Gradient
.gradient-dec804 {
  background: linear-gradient(135deg, #dec804, #87de04);
}
Colored shadow
.shadow-dec804 {
  box-shadow: 0 8px 24px rgb(222 200 4 / 0.35);
}

Citrine
#dec804  rgb(222, 200, 4)  hsl(54, 96%, 44%)  Citrine
#041ade  rgb(4, 26, 222)  hsl(234, 96%, 44%)  Medium Blue
#04dec8  rgb(4, 222, 200)  hsl(174, 96%, 44%)  Turquoise
#c804de  rgb(200, 4, 222)  hsl(294, 96%, 44%)  Electric Purple