#DECC2D

#decc2d ≈ Citrine

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

#decc2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 80% green and 17.65% blue; printed in CMYK it uses 0% cyan, 8.11% magenta, 79.73% yellow and 12.94% black. Its hue angle is 53.9°, with 72.84% saturation and 52.35% 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.78:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.05.

Description generated from the measured properties of this color.

Conversions of #decc2d 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.589

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d2cba3 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e5cd3a ≈ 1.27% of males
Tritanopia #efbdaf ≈ 0.0001% of males
Protanomaly #dfc816 ≈ 1.08% of males
Deuteranomaly #e2cd35 ≈ 4.63% of males
Tritanomaly #e9c38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#decc2d  rgb(222, 204, 45)  hsl(54, 73%, 52%)  Citrine
#2d3fde  rgb(45, 63, 222)  hsl(234, 73%, 52%)  Persian Blue
#2ddecc  rgb(45, 222, 204)  hsl(174, 73%, 52%)  Turquoise
#cc2dde  rgb(204, 45, 222)  hsl(294, 73%, 52%)  Medium Orchid