#CCD04D

#ccd04d ≈ Straw

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

#ccd04d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 81.57% green and 30.2% blue; printed in CMYK it uses 1.92% cyan, 0% magenta, 62.98% yellow and 18.43% black. Its hue angle is 61.83°, with 58.22% saturation and 55.88% 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.7:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.37.

Description generated from the measured properties of this color.

Conversions of #ccd04d 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.5848

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cacca6 ≈ 0.001% of males
Protanopia #dfc73c ≈ 1.01% of males
Deuteranopia #e0cb55 ≈ 1.27% of males
Tritanopia #d9c4b5 ≈ 0.0001% of males
Protanomaly #d8cb43 ≈ 1.08% of males
Deuteranomaly #d8cd52 ≈ 4.63% of males
Tritanomaly #d4c996 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccd04d {
  color: #ccd04d;
}
Background
.bg-ccd04d {
  background-color: #ccd04d;
  color: #000000;
}
Border
.border-ccd04d {
  border: 2px solid #ccd04d;
}
CSS variables
:root {
  --color-primary: #ccd04d;
  --color-primary-rgb: 204 208 77;
  --color-primary-hsl: 62 58% 56%;
}
Gradient
.gradient-ccd04d {
  background: linear-gradient(135deg, #ccd04d, #8ad04d);
}
Colored shadow
.shadow-ccd04d {
  box-shadow: 0 8px 24px rgb(204 208 77 / 0.35);
}

Straw
#ccd04d  rgb(204, 208, 77)  hsl(62, 58%, 56%)  Straw
#514dd0  rgb(81, 77, 208)  hsl(242, 58%, 56%)  Iris
#4dccd0  rgb(77, 204, 208)  hsl(182, 58%, 56%)  Dark Turquoise
#d04dcc  rgb(208, 77, 204)  hsl(302, 58%, 56%)  Medium Orchid