#CDCD71

#cdcd71 ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#cdcd71 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80.39% green and 44.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 44.88% yellow and 19.61% black. Its hue angle is 60°, with 47.92% saturation and 62.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 12.57:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #cdcd71 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5783

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cacaac ≈ 0.001% of males
Protanopia #dac669 ≈ 1.01% of males
Deuteranopia #dbca75 ≈ 1.27% of males
Tritanopia #d8c3b7 ≈ 0.0001% of males
Protanomaly #d5c96c ≈ 1.08% of males
Deuteranomaly #d6cb74 ≈ 4.63% of males
Tritanomaly #d4c7a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#cdcd71  rgb(205, 205, 113)  hsl(60, 48%, 62%)  Straw
#7171cd  rgb(113, 113, 205)  hsl(240, 48%, 62%)  Medium Slate Blue
#71cdcd  rgb(113, 205, 205)  hsl(180, 48%, 62%)  Medium Turquoise
#cd71cd  rgb(205, 113, 205)  hsl(300, 48%, 62%)  Orchid