#DEC52D

#dec52d ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #dec52d 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.5565

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cfc59f ≈ 0.001% of males
Protanopia #d9c000 ≈ 1.01% of males
Deuteranopia #e0c939 ≈ 1.27% of males
Tritanopia #f0b6a9 ≈ 0.0001% of males
Protanomaly #dbc218 ≈ 1.08% of males
Deuteranomaly #dfc734 ≈ 4.63% of males
Tritanomaly #e9bc89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dec52d  rgb(222, 197, 45)  hsl(52, 73%, 52%)  Citrine
#2d46de  rgb(45, 70, 222)  hsl(232, 73%, 52%)  Iris
#2ddec5  rgb(45, 222, 197)  hsl(172, 73%, 52%)  Turquoise
#c52dde  rgb(197, 45, 222)  hsl(292, 73%, 52%)  Electric Purple