#CDCC02

#cdcc02 ≈ Citrine

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

#cdcc02 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 0.78% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 99.02% yellow and 19.61% black. Its hue angle is 59.7°, with 98.07% saturation and 40.59% 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.23:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #cdcc02 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.5617

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.23: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 #e0c826 ≈ 1.27% of males
Tritanopia #ddbead ≈ 0.0001% of males
Protanomaly #d7c700 ≈ 1.08% of males
Deuteranomaly #d9ca1c ≈ 4.63% of males
Tritanomaly #d7c48a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdcc02  rgb(205, 204, 2)  hsl(60, 98%, 41%)  Citrine
#0203cd  rgb(2, 3, 205)  hsl(240, 98%, 41%)  Medium Blue
#02cdcc  rgb(2, 205, 204)  hsl(180, 98%, 41%)  Robin Egg Blue
#cc02cd  rgb(204, 2, 205)  hsl(300, 98%, 41%)  Electric Purple