#CDCD07

#cdcd07 ≈ Citrine

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

#cdcd07 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.39% green and 2.75% blue; printed in CMYK it uses 0% cyan, 0% magenta, 96.59% yellow and 19.61% black. Its hue angle is 60°, with 93.4% saturation and 41.57% 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.33:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.98.

Description generated from the measured properties of this color.

Conversions of #cdcd07 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.5666

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c9c99e ≈ 0.001% of males
Protanopia #dfc400 ≈ 1.01% of males
Deuteranopia #e1c928 ≈ 1.27% of males
Tritanopia #dcbfae ≈ 0.0001% of males
Protanomaly #d8c700 ≈ 1.08% of males
Deuteranomaly #d9ca1f ≈ 4.63% of males
Tritanomaly #d6c58b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdcd07  rgb(205, 205, 7)  hsl(60, 93%, 42%)  Citrine
#0707cd  rgb(7, 7, 205)  hsl(240, 93%, 42%)  Medium Blue
#07cdcd  rgb(7, 205, 205)  hsl(180, 93%, 42%)  Robin Egg Blue
#cd07cd  rgb(205, 7, 205)  hsl(300, 93%, 42%)  Electric Purple