#C8CD5A

#c8cd5a ≈ Straw

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

#c8cd5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 78.43% red, 80.39% green and 35.29% blue; printed in CMYK it uses 2.44% cyan, 0% magenta, 56.1% yellow and 19.61% black. Its hue angle is 62.61°, with 53.49% saturation and 57.84% 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.34:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.48.

Description generated from the measured properties of this color.

Conversions of #c8cd5a 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.5668

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c7c9a6 ≈ 0.001% of males
Protanopia #dbc54e ≈ 1.01% of males
Deuteranopia #dcc861 ≈ 1.27% of males
Tritanopia #d4c2b4 ≈ 0.0001% of males
Protanomaly #d4c853 ≈ 1.08% of males
Deuteranomaly #d4ca5e ≈ 4.63% of males
Tritanomaly #cfc698 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#c8cd5a  rgb(200, 205, 90)  hsl(63, 53%, 58%)  Straw
#5f5acd  rgb(95, 90, 205)  hsl(243, 53%, 58%)  Slate Blue
#5ac8cd  rgb(90, 200, 205)  hsl(183, 53%, 58%)  Dark Turquoise
#cd5ac8  rgb(205, 90, 200)  hsl(303, 53%, 58%)  Medium Orchid