#DCC51E

#dcc51e ≈ Citrine

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

#dcc51e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 77.25% green and 11.76% blue; printed in CMYK it uses 0% cyan, 10.45% magenta, 86.36% yellow and 13.73% black. Its hue angle is 52.74°, with 76% saturation and 49.02% 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.05:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #dcc51e 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.5524

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cec49d ≈ 0.001% of males
Protanopia #d9bf00 ≈ 1.01% of males
Deuteranopia #dfc82f ≈ 1.27% of males
Tritanopia #eeb6a8 ≈ 0.0001% of males
Protanomaly #dac200 ≈ 1.08% of males
Deuteranomaly #dec729 ≈ 4.63% of males
Tritanomaly #e7bc87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcc51e {
  color: #dcc51e;
}
Background
.bg-dcc51e {
  background-color: #dcc51e;
  color: #000000;
}
Border
.border-dcc51e {
  border: 2px solid #dcc51e;
}
CSS variables
:root {
  --color-primary: #dcc51e;
  --color-primary-rgb: 220 197 30;
  --color-primary-hsl: 53 76% 49%;
}
Gradient
.gradient-dcc51e {
  background: linear-gradient(135deg, #dcc51e, #94dc1e);
}
Colored shadow
.shadow-dcc51e {
  box-shadow: 0 8px 24px rgb(220 197 30 / 0.35);
}

Citrine
#dcc51e  rgb(220, 197, 30)  hsl(53, 76%, 49%)  Citrine
#1e35dc  rgb(30, 53, 220)  hsl(233, 76%, 49%)  Persian Blue
#1edcc5  rgb(30, 220, 197)  hsl(173, 76%, 49%)  Turquoise
#c51edc  rgb(197, 30, 220)  hsl(293, 76%, 49%)  Electric Purple