#CDC96A

#cdc96a ≈ Straw

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

#cdc96a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 78.82% green and 41.57% blue; printed in CMYK it uses 0% cyan, 1.95% magenta, 48.29% yellow and 19.61% black. Its hue angle is 57.58°, with 49.75% saturation and 60.98% 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.16:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #cdc96a 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.5579

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c8c7a8 ≈ 0.001% of males
Protanopia #d7c362 ≈ 1.01% of males
Deuteranopia #d9c76f ≈ 1.27% of males
Tritanopia #d9beb3 ≈ 0.0001% of males
Protanomaly #d3c565 ≈ 1.08% of males
Deuteranomaly #d4c86d ≈ 4.63% of males
Tritanomaly #d4c39b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc96a {
  color: #cdc96a;
}
Background
.bg-cdc96a {
  background-color: #cdc96a;
  color: #000000;
}
Border
.border-cdc96a {
  border: 2px solid #cdc96a;
}
CSS variables
:root {
  --color-primary: #cdc96a;
  --color-primary-rgb: 205 201 106;
  --color-primary-hsl: 58 50% 61%;
}
Gradient
.gradient-cdc96a {
  background: linear-gradient(135deg, #cdc96a, #9fcd6a);
}
Colored shadow
.shadow-cdc96a {
  box-shadow: 0 8px 24px rgb(205 201 106 / 0.35);
}

Straw
#cdc96a  rgb(205, 201, 106)  hsl(58, 50%, 61%)  Straw
#6a6ecd  rgb(106, 110, 205)  hsl(238, 50%, 61%)  Medium Slate Blue
#6acdc9  rgb(106, 205, 201)  hsl(178, 50%, 61%)  Medium Turquoise
#c96acd  rgb(201, 106, 205)  hsl(298, 50%, 61%)  Orchid