#CDC74A

#cdc74a ≈ Straw

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

#cdc74a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 78.04% green and 29.02% blue; printed in CMYK it uses 0% cyan, 2.93% magenta, 63.9% yellow and 19.61% black. Its hue angle is 57.25°, with 56.71% saturation and 54.71% 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 11.86:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.36.

Description generated from the measured properties of this color.

Conversions of #cdc74a 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.5432

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #c7c4a0 ≈ 0.001% of males
Protanopia #d7c03a ≈ 1.01% of males
Deuteranopia #dac552 ≈ 1.27% of males
Tritanopia #dbbaad ≈ 0.0001% of males
Protanomaly #d3c341 ≈ 1.08% of males
Deuteranomaly #d5c64f ≈ 4.63% of males
Tritanomaly #d6c090 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc74a {
  color: #cdc74a;
}
Background
.bg-cdc74a {
  background-color: #cdc74a;
  color: #000000;
}
Border
.border-cdc74a {
  border: 2px solid #cdc74a;
}
CSS variables
:root {
  --color-primary: #cdc74a;
  --color-primary-rgb: 205 199 74;
  --color-primary-hsl: 57 57% 55%;
}
Gradient
.gradient-cdc74a {
  background: linear-gradient(135deg, #cdc74a, #92cd4a);
}
Colored shadow
.shadow-cdc74a {
  box-shadow: 0 8px 24px rgb(205 199 74 / 0.35);
}

Straw
#cdc74a  rgb(205, 199, 74)  hsl(57, 57%, 55%)  Straw
#4a50cd  rgb(74, 80, 205)  hsl(237, 57%, 55%)  Iris
#4acdc7  rgb(74, 205, 199)  hsl(177, 57%, 55%)  Medium Turquoise
#c74acd  rgb(199, 74, 205)  hsl(297, 57%, 55%)  Medium Orchid