#CDCC0A

#cdcc0a ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cdcc0a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 80% green and 3.92% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 95.12% yellow and 19.61% black. Its hue angle is 59.69°, with 90.7% saturation and 42.16% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #cdcc0a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5619

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c9c89d ≈ 0.001% of males
Protanopia #dec300 ≈ 1.01% of males
Deuteranopia #e0c828 ≈ 1.27% of males
Tritanopia #ddbeae ≈ 0.0001% of males
Protanomaly #d7c700 ≈ 1.08% of males
Deuteranomaly #d8ca20 ≈ 4.63% of males
Tritanomaly #d6c48a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdcc0a {
  color: #cdcc0a;
}
Background
.bg-cdcc0a {
  background-color: #cdcc0a;
  color: #000000;
}
Border
.border-cdcc0a {
  border: 2px solid #cdcc0a;
}
CSS variables
:root {
  --color-primary: #cdcc0a;
  --color-primary-rgb: 205 204 10;
  --color-primary-hsl: 60 91% 42%;
}
Gradient
.gradient-cdcc0a {
  background: linear-gradient(135deg, #cdcc0a, #6dcd0a);
}
Colored shadow
.shadow-cdcc0a {
  box-shadow: 0 8px 24px rgb(205 204 10 / 0.35);
}

Citrine
#cdcc0a  rgb(205, 204, 10)  hsl(60, 91%, 42%)  Citrine
#0a0bcd  rgb(10, 11, 205)  hsl(240, 91%, 42%)  Medium Blue
#0acdcc  rgb(10, 205, 204)  hsl(180, 91%, 42%)  Robin Egg Blue
#cc0acd  rgb(204, 10, 205)  hsl(300, 91%, 42%)  Electric Purple