#DEC72C

#dec72c ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dec72c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 78.04% green and 17.25% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 80.18% yellow and 12.94% black. Its hue angle is 52.25°, with 72.95% saturation and 52.16% 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 brand accents. Black text on this color reaches a contrast ratio of 12.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.91.

Description generated from the measured properties of this color.

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

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d0c6a0 ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #e1ca39 ≈ 1.27% of males
Tritanopia #f0b8ab ≈ 0.0001% of males
Protanomaly #dcc416 ≈ 1.08% of males
Deuteranomaly #e0c934 ≈ 4.63% of males
Tritanomaly #e9be8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec72c {
  color: #dec72c;
}
Background
.bg-dec72c {
  background-color: #dec72c;
  color: #000000;
}
Border
.border-dec72c {
  border: 2px solid #dec72c;
}
CSS variables
:root {
  --color-primary: #dec72c;
  --color-primary-rgb: 222 199 44;
  --color-primary-hsl: 52 73% 52%;
}
Gradient
.gradient-dec72c {
  background: linear-gradient(135deg, #dec72c, #9cde2c);
}
Colored shadow
.shadow-dec72c {
  box-shadow: 0 8px 24px rgb(222 199 44 / 0.35);
}

Citrine
#dec72c  rgb(222, 199, 44)  hsl(52, 73%, 52%)  Citrine
#2c43de  rgb(44, 67, 222)  hsl(232, 73%, 52%)  Iris
#2cdec7  rgb(44, 222, 199)  hsl(172, 73%, 52%)  Turquoise
#c72cde  rgb(199, 44, 222)  hsl(292, 73%, 52%)  Electric Purple