#DCD12E

#dcd12e ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #dcd12e 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.6101

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d3cfa5 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #e8d03c ≈ 1.27% of males
Tritanopia #edc2b3 ≈ 0.0001% of males
Protanomaly #e1cc16 ≈ 1.08% of males
Deuteranomaly #e3d037 ≈ 4.63% of males
Tritanomaly #e6c891 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcd12e  rgb(220, 209, 46)  hsl(56, 71%, 52%)  Citrine
#2e39dc  rgb(46, 57, 220)  hsl(236, 71%, 52%)  Persian Blue
#2edcd1  rgb(46, 220, 209)  hsl(176, 71%, 52%)  Turquoise
#d12edc  rgb(209, 46, 220)  hsl(296, 71%, 52%)  Medium Orchid