#DECF04

#decf04 ≈ Citrine

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

#decf04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 81.18% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.76% magenta, 98.2% yellow and 12.94% black. Its hue angle is 55.87°, 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 13.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.27.

Description generated from the measured properties of this color.

Conversions of #decf04 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.6016

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d3cda2 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e8cf26 ≈ 1.27% of males
Tritanopia #f0bfb0 ≈ 0.0001% of males
Protanomaly #e1cb00 ≈ 1.08% of males
Deuteranomaly #e4cf1d ≈ 4.63% of males
Tritanomaly #e9c68c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-decf04 {
  color: #decf04;
}
Background
.bg-decf04 {
  background-color: #decf04;
  color: #000000;
}
Border
.border-decf04 {
  border: 2px solid #decf04;
}
CSS variables
:root {
  --color-primary: #decf04;
  --color-primary-rgb: 222 207 4;
  --color-primary-hsl: 56 96% 44%;
}
Gradient
.gradient-decf04 {
  background: linear-gradient(135deg, #decf04, #80de04);
}
Colored shadow
.shadow-decf04 {
  box-shadow: 0 8px 24px rgb(222 207 4 / 0.35);
}

Citrine
#decf04  rgb(222, 207, 4)  hsl(56, 96%, 44%)  Citrine
#0413de  rgb(4, 19, 222)  hsl(236, 96%, 44%)  Medium Blue
#04decf  rgb(4, 222, 207)  hsl(176, 96%, 44%)  Turquoise
#cf04de  rgb(207, 4, 222)  hsl(296, 96%, 44%)  Electric Purple