#DCDC2F

#dcdc2f ≈ Pear

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

#dcdc2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 86.27% green and 18.43% blue; printed in CMYK it uses 0% cyan, 0% magenta, 78.64% yellow and 13.73% black. Its hue angle is 60°, with 71.19% 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 14.32:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.66.

Description generated from the measured properties of this color.

Conversions of #dcdc2f 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.6661

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d8d8ac ≈ 0.001% of males
Protanopia #eed200 ≈ 1.01% of males
Deuteranopia #f0d73f ≈ 1.27% of males
Tritanopia #eccebd ≈ 0.0001% of males
Protanomaly #e7d614 ≈ 1.08% of males
Deuteranomaly #e8d939 ≈ 4.63% of males
Tritanomaly #e6d398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#dcdc2f  rgb(220, 220, 47)  hsl(60, 71%, 52%)  Pear
#2f2fdc  rgb(47, 47, 220)  hsl(240, 71%, 52%)  Blue
#2fdcdc  rgb(47, 220, 220)  hsl(180, 71%, 52%)  Medium Turquoise
#dc2fdc  rgb(220, 47, 220)  hsl(300, 71%, 52%)  Medium Orchid