#CDCD38

#cdcd38 ≈ Pear

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

#cdcd38 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 80.39% green and 21.96% blue; printed in CMYK it uses 0% cyan, 0% magenta, 72.68% yellow and 19.61% black. Its hue angle is 60°, with 59.84% 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 12.39:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #cdcd38 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.5693

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #c9c9a1 ≈ 0.001% of males
Protanopia #dec419 ≈ 1.01% of males
Deuteranopia #dfc944 ≈ 1.27% of males
Tritanopia #dcc0b1 ≈ 0.0001% of males
Protanomaly #d7c829 ≈ 1.08% of males
Deuteranomaly #d8cb3f ≈ 4.63% of males
Tritanomaly #d6c590 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#cdcd38  rgb(205, 205, 56)  hsl(60, 60%, 51%)  Pear
#3838cd  rgb(56, 56, 205)  hsl(240, 60%, 51%)  Persian Blue
#38cdcd  rgb(56, 205, 205)  hsl(180, 60%, 51%)  Robin Egg Blue
#cd38cd  rgb(205, 56, 205)  hsl(300, 60%, 51%)  Medium Orchid