#CDCD45

#cdcd45 ≈ Straw

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

#cdcd45 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 27.06% blue; printed in CMYK it uses 0% cyan, 0% magenta, 66.34% yellow and 19.61% black. Its hue angle is 60°, with 57.63% saturation and 53.73% 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.41:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.48.

Description generated from the measured properties of this color.

Conversions of #cdcd45 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.5707

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #c9c9a3 ≈ 0.001% of males
Protanopia #ddc531 ≈ 1.01% of males
Deuteranopia #dfc94e ≈ 1.27% of males
Tritanopia #dbc0b2 ≈ 0.0001% of males
Protanomaly #d7c83a ≈ 1.08% of males
Deuteranomaly #d8cb4b ≈ 4.63% of males
Tritanomaly #d6c693 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#cdcd45  rgb(205, 205, 69)  hsl(60, 58%, 54%)  Straw
#4545cd  rgb(69, 69, 205)  hsl(240, 58%, 54%)  Ocean Blue
#45cdcd  rgb(69, 205, 205)  hsl(180, 58%, 54%)  Medium Turquoise
#cd45cd  rgb(205, 69, 205)  hsl(300, 58%, 54%)  Medium Orchid