#DCDC2B

#dcdc2b ≈ Pear

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

#dcdc2b 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 16.86% blue; printed in CMYK it uses 0% cyan, 0% magenta, 80.45% yellow and 13.73% black. Its hue angle is 60°, with 71.66% saturation and 51.57% 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.72.

Description generated from the measured properties of this color.

Conversions of #dcdc2b 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.6658

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 #d8d8ab ≈ 0.001% of males
Protanopia #eed200 ≈ 1.01% of males
Deuteranopia #f0d73c ≈ 1.27% of males
Tritanopia #eccdbc ≈ 0.0001% of males
Protanomaly #e7d609 ≈ 1.08% of males
Deuteranomaly #e8d936 ≈ 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-dcdc2b {
  color: #dcdc2b;
}
Background
.bg-dcdc2b {
  background-color: #dcdc2b;
  color: #000000;
}
Border
.border-dcdc2b {
  border: 2px solid #dcdc2b;
}
CSS variables
:root {
  --color-primary: #dcdc2b;
  --color-primary-rgb: 220 220 43;
  --color-primary-hsl: 60 72% 52%;
}
Gradient
.gradient-dcdc2b {
  background: linear-gradient(135deg, #dcdc2b, #84dc2b);
}
Colored shadow
.shadow-dcdc2b {
  box-shadow: 0 8px 24px rgb(220 220 43 / 0.35);
}

Pear
#dcdc2b  rgb(220, 220, 43)  hsl(60, 72%, 52%)  Pear
#2b2bdc  rgb(43, 43, 220)  hsl(240, 72%, 52%)  Blue
#2bdcdc  rgb(43, 220, 220)  hsl(180, 72%, 52%)  Medium Turquoise
#dc2bdc  rgb(220, 43, 220)  hsl(300, 72%, 52%)  Medium Orchid