#CFCD5A

#cfcd5a ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#cfcd5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 80.39% green and 35.29% blue; printed in CMYK it uses 0% cyan, 0.97% magenta, 56.52% yellow and 18.82% black. Its hue angle is 58.97°, with 54.93% saturation and 58.24% 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.53:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #cfcd5a 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.5767

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cbcaa7 ≈ 0.001% of males
Protanopia #dcc64e ≈ 1.01% of males
Deuteranopia #deca60 ≈ 1.27% of males
Tritanopia #dcc1b4 ≈ 0.0001% of males
Protanomaly #d7c953 ≈ 1.08% of males
Deuteranomaly #d8cb5e ≈ 4.63% of males
Tritanomaly #d7c698 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcd5a {
  color: #cfcd5a;
}
Background
.bg-cfcd5a {
  background-color: #cfcd5a;
  color: #000000;
}
Border
.border-cfcd5a {
  border: 2px solid #cfcd5a;
}
CSS variables
:root {
  --color-primary: #cfcd5a;
  --color-primary-rgb: 207 205 90;
  --color-primary-hsl: 59 55% 58%;
}
Gradient
.gradient-cfcd5a {
  background: linear-gradient(135deg, #cfcd5a, #97cf5a);
}
Colored shadow
.shadow-cfcd5a {
  box-shadow: 0 8px 24px rgb(207 205 90 / 0.35);
}

Straw
#cfcd5a  rgb(207, 205, 90)  hsl(59, 55%, 58%)  Straw
#5a5ccf  rgb(90, 92, 207)  hsl(239, 55%, 58%)  Slate Blue
#5acfcd  rgb(90, 207, 205)  hsl(179, 55%, 58%)  Medium Turquoise
#cd5acf  rgb(205, 90, 207)  hsl(299, 55%, 58%)  Medium Orchid