#DBDB2A

#dbdb2a ≈ Pear

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

#dbdb2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.88% red, 85.88% green and 16.47% blue; printed in CMYK it uses 0% cyan, 0% magenta, 80.82% yellow and 14.12% black. Its hue angle is 60°, with 71.08% saturation and 51.18% 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.18:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.77.

Description generated from the measured properties of this color.

Conversions of #dbdb2a 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.6589

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d7d7aa ≈ 0.001% of males
Protanopia #edd100 ≈ 1.01% of males
Deuteranopia #efd63c ≈ 1.27% of males
Tritanopia #ebcdbc ≈ 0.0001% of males
Protanomaly #e6d506 ≈ 1.08% of males
Deuteranomaly #e7d835 ≈ 4.63% of males
Tritanomaly #e5d297 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dbdb2a {
  color: #dbdb2a;
}
Background
.bg-dbdb2a {
  background-color: #dbdb2a;
  color: #000000;
}
Border
.border-dbdb2a {
  border: 2px solid #dbdb2a;
}
CSS variables
:root {
  --color-primary: #dbdb2a;
  --color-primary-rgb: 219 219 42;
  --color-primary-hsl: 60 71% 51%;
}
Gradient
.gradient-dbdb2a {
  background: linear-gradient(135deg, #dbdb2a, #83db2a);
}
Colored shadow
.shadow-dbdb2a {
  box-shadow: 0 8px 24px rgb(219 219 42 / 0.35);
}

Pear
#dbdb2a  rgb(219, 219, 42)  hsl(60, 71%, 51%)  Pear
#2a2adb  rgb(42, 42, 219)  hsl(240, 71%, 51%)  Blue
#2adbdb  rgb(42, 219, 219)  hsl(180, 71%, 51%)  Medium Turquoise
#db2adb  rgb(219, 42, 219)  hsl(300, 71%, 51%)  Medium Orchid