#DCD42E

#dcd42e ≈ Citrine

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

#dcd42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 79.09% yellow and 13.73% black. Its hue angle is 57.24°, with 71.31% 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 13.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.32.

Description generated from the measured properties of this color.

Conversions of #dcd42e 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.625

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d4d1a7 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #ead23d ≈ 1.27% of males
Tritanopia #edc5b6 ≈ 0.0001% of males
Protanomaly #e2cf15 ≈ 1.08% of males
Deuteranomaly #e5d337 ≈ 4.63% of males
Tritanomaly #e6cb93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd42e {
  color: #dcd42e;
}
Background
.bg-dcd42e {
  background-color: #dcd42e;
  color: #000000;
}
Border
.border-dcd42e {
  border: 2px solid #dcd42e;
}
CSS variables
:root {
  --color-primary: #dcd42e;
  --color-primary-rgb: 220 212 46;
  --color-primary-hsl: 57 71% 52%;
}
Gradient
.gradient-dcd42e {
  background: linear-gradient(135deg, #dcd42e, #8ddc2e);
}
Colored shadow
.shadow-dcd42e {
  box-shadow: 0 8px 24px rgb(220 212 46 / 0.35);
}

Citrine
#dcd42e  rgb(220, 212, 46)  hsl(57, 71%, 52%)  Citrine
#2e36dc  rgb(46, 54, 220)  hsl(237, 71%, 52%)  Persian Blue
#2edcd4  rgb(46, 220, 212)  hsl(177, 71%, 52%)  Turquoise
#d42edc  rgb(212, 46, 220)  hsl(297, 71%, 52%)  Medium Orchid